Solved Setting Durability of "Durabilityless" Items

Discussion in 'Plugin Development' started by Lactem, Jun 1, 2013.

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

    Lactem

    I can set the durability of a stick and change it when the player hits an entity or breaks a block. Then when it's zero, I can remove the item from the player's inventory, but it will never show durability on the stick. Its durability is obviously changing, but it doesn't show the green bar on the stick. How would I make it show the durability on the stick?

    Thanks in advance,
    Lactem
     
  2. Offline

    GodzOfMadness

    Lactem The only time it will show a green bar is if it has durability like a diamond sword.
     
  3. Offline

    Lactem

    So then how do I make it have the diamond sword-like durability? Or is this only possible using mods?
     
  4. Offline

    GodzOfMadness

    Lactem You can't without a client modification.
     
Thread Status:
Not open for further replies.

Share This Page