@FunctionalInterface public interface BlockUseHandler extends ItemHandler
Modifier and Type | Method and Description |
---|---|
default java.lang.Class<? extends ItemHandler> |
getIdentifier()
This method returns the identifier for this
ItemHandler . |
void |
onRightClick(PlayerRightClickEvent e) |
isPrivate
void onRightClick(PlayerRightClickEvent e)
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