Package me.totalfreedom.display
Interface ClickAction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents an action to be performed when a player clicks on an inventory slot in the respective
AbstractMenu.-
Method Summary
Modifier and TypeMethodDescriptionvoidonClick(org.bukkit.entity.Player player) Called when a player clicks on an inventory slot in the respectiveAbstractMenu.
-
Method Details
-
onClick
void onClick(org.bukkit.entity.Player player) Called when a player clicks on an inventory slot in the respectiveAbstractMenu.- Parameters:
player- The player who clicked.
-