public interface BlockService extends Service
Modifier and Type | Method and Description |
---|---|
BlockResponse |
processClickEvent(org.bukkit.event.inventory.InventoryClickEvent event,
ItemQuery block)
Called when a player has interacted with an inventory.
|
getServiceName
BlockResponse processClickEvent(org.bukkit.event.inventory.InventoryClickEvent event, ItemQuery block)
The response is only considered a success if the result is non-null and successful.
event
- - the inventory event.block
- - the block the given player last right-clicked. Note that this may be any arbitrary block.