Enchantment Lores?

Discussion in 'Plugin Development' started by CoderRevolq, Apr 4, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    CoderRevolq

    Is it possible to add a new enchantment, i've seen on servers like on the enchants it says " Sharpness I " then right below that is an enchantment I have never seen, like it would say Sharpness I then below it says Wither I, How do i add that? Is that some kind of enchantment lore?
     
  2. They added a potion effect? Wither is a potion effect, you can apply potion effects to ItemStacks, forgot how to though, this is just telling you what they did.

    You could create new Enchantments too, don't bother with modifying CraftBukkit JAR or using Reflection, just add lores and then loop through each lore line and check the string and return a custom enchantment class.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
Thread Status:
Not open for further replies.

Share This Page