@FunctionalInterface public interface BlockBreakHandler extends ItemHandler
Modifier and Type | Method and Description |
---|---|
default java.lang.Class<? extends ItemHandler> |
getIdentifier()
This method returns the identifier for this
ItemHandler . |
boolean |
onBlockBreak(BlockBreakEvent e,
ItemStack item,
int fortune,
java.util.List<ItemStack> drops) |
isPrivate
boolean onBlockBreak(BlockBreakEvent e, ItemStack item, int fortune, java.util.List<ItemStack> drops)
default java.lang.Class<? extends ItemHandler> getIdentifier()
ItemHandler
ItemHandler
.
We use a Class
identifier to group Item Handlers together.getIdentifier
in interface ItemHandler
Class
identifier for this ItemHandler