Transform Vanilla Items into ExecutableItems
Last updated
Last updated
First of all you have to know that this method is only available to PREMIUM VERSION
For this tutorial it will be the diamond_sword
To create an item type /ei create <id>
command
Change the Material of the Item to the vanilla-item you are going to change (In this case diamond_sword)
Let's create an activator
For this example it will be PLAYER_CLICK_ON_ENTITY
Detailed click to left, to only work when hitting
And on commands I'll put these commands:
So when hitting the swords will say This is not a normal sword and the entity will burn for 4 seconds
OK ! We have the item ready, you can test it if you want (to be sure the EI Item works fine). Now we have to make the.. transformation 😈😈
To do this, you first have to go to edit the yml of your item.
It is in plugins/ExecutableItems/items/<itemID>.yml
Open it and add these lines. (they must be without ident/spaces on the left side)
Save the <item>.yml , go inside the game and type /ei reload
If we did every step fine, now we have to take a diamond_sword from vanilla, get close to a cow, and hit it -> It should burn for 4 seconds, some particle will show up and you will recieve a message.
Tested and works ! Yup !!
Any question you can ask on discord ^^
Method by Special70
Now ExecutableItems will think that any item that has the same material as the EI Item (that we just created) will be the EI Item.