A Way To Test When Durability Drops?

Discussion in 'Plugin Development' started by PandazNWafflez, May 24, 2012.

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

    PandazNWafflez

    I want to check when durability falls on a tool, armour, a weapon, etc, I've looked in the APIDocs, but I can't seem to find an event called when it happens. Is it possible?
     
  2. Offline

    Waffletastic

    Just use block break event, get item in hand's durability, then set it back to what it was.
     
  3. Offline

    PandazNWafflez

    And weapons / armour? And hoes?
     
  4. Offline

    colony88

    EntityDamageByEntityEvent & event.getEntity() instanceof Player?
     
Thread Status:
Not open for further replies.

Share This Page