Custom enchants by lore

This method will work with activators related to player/entities that will check if the player has certain line on the lore of the item.

To add lore to an item (looking for the enchant mechanic) you can use the commands related to lore in Score, like ADDLORE and SETLORE.

FIRE SOUL ENCHANTMENT

Let's create our activator

  • Creating it:

  • Let's create our activator (in this case I will only use PLAYER_HIT_ENTITY, if you want this enchantment to work for players too do it)

  • Now let's add on commands what we want the "enchantment" to do.

    • In this case BURN command and some particles

  • Now it is working always a player hits an entity, but we want this only works if the item the player is hitting with has in the lore "FIRE SOUL", let's add that condition, to do that we will use CheckItem expansion of PlaceholderAPI.

  • And that's it, if want to customize more the placeholder you can read CheckItem expansion of PlaceholderAPI ^^, this events already works, it will fire the commands only if the item has in the lore "FIRE SOUL" :D

MINE IN CUBE ENCHANTMENT

Since you already saw the previous one, you already got the idea, so let's do this one faster, let's create our activator and the commands we want (in this case MINEINCUBE)

  • And that's it, record time 😎, now when a player with an item who has MINEINCUBE in their lore breaks a block, it will break in area of 1, this means, 3x3x3.

Last updated