item tracking

Discussion in 'Plugin Development' started by DreadKyller, May 18, 2011.

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

    DreadKyller

    I am creating a plugin. for this plugin I need to cause an event to occur every time a dropped item (either by a block breaking or a player) hits a specified block. However I wish there was a ITEM_ON_BLOCK Event.Type, unfortunately there isn't, so is there anyway way to constantly check to see if an item is on a block. To reduce lag is it possible to make a scheduler to check every block in a hashmap and check to see if an item is on or above it? If so how would I get the item?
     
Thread Status:
Not open for further replies.

Share This Page