@FunctionalInterface public interface ClickAction
| Modifier and Type | Method and Description |
|---|---|
static void |
CloseInventory(MenuClick menuClick)
Close the inventory of the player.
|
void |
onClick(MenuClick menuClick)
When this action is called, what should happen?
|
void onClick(MenuClick menuClick)
menuClick - encapsulation which provides data about the click eventstatic void CloseInventory(MenuClick menuClick)
menuClick - encapsulation which provides data about the click eventCopyright © 2021. All rights reserved.