Items Data ?

Discussion in 'Plugin Development' started by PePsiGam3r, Dec 8, 2013.

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

    PePsiGam3r

    Hello people, i want to make a plugin that give you Enchanted golden apple when you kill a player, so the question is : How to set the Item data ?, because i type the material "Material.GOLDEN_APPLE" but the golden apple is not Enchanted. please help me :)
    * Sorry for my bad English because it's not my main Language *
     
  2. set the durability of the of the item stack to 1
     
  3. Offline

    PePsiGam3r

    Thank you very much!
     
  4. Offline

    samosaara

    LOLZ?!?!? The enchanted golden apple is the Material.GOLDEN_APPLE with 0 durability?
     
  5. Offline

    Njol

Thread Status:
Not open for further replies.

Share This Page