Add enchantment Power.X to an item

Discussion in 'Plugin Development' started by MisterErwin, Mar 17, 2013.

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

    MisterErwin

    Hello together,

    how can I add the Power.X enchantment to an item (e.g. diamond)

    Thank you,

    MisterErwin
     
  2. Offline

    Digi

    To force an enchantment on an item you can use item.addUnsafeEnchantment().
     
    MisterErwin likes this.
  3. Offline

    MisterErwin

    Thanks... sometimes I'm blind...
     
Thread Status:
Not open for further replies.

Share This Page