Is there a event to monitor ItemDrops?

Discussion in 'Plugin Development' started by Benni1000, Jun 17, 2012.

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

    Benni1000

    Hello,
    Is there a way that i can minotor when an item touches the ground?
    So when a Player throws it its triggered, when a dispener fires it triggers.
    Thanks.
     
  2. Offline

    Dino Filippini

    The obvious events of item drops and pickups exist, but the closest lead I could find to what you're asking about would be something along the lines of an EntityType of DROPPED_ITEM

    http://jd.bukkit.org/doxygen/d6/d7b/EntityType_8java_source.html#l00009

    Might not hurt poking around there for a little bit to find some more information on if this is possible with the current events available.
     
  3. Well, there are two events. One for the dispenser (ItemDispenseEvent) and one for the player (DropItemEvent).
     
Thread Status:
Not open for further replies.

Share This Page