Class InventoryButtonClickEvent

java.lang.Object
net.minestom.server.event.inventory.InventoryButtonClickEvent
All Implemented Interfaces:
Event, EntityEvent, EntityInstanceEvent, InstanceEvent, InventoryEvent, PlayerEvent, PlayerInstanceEvent

public class InventoryButtonClickEvent extends Object implements InventoryEvent, PlayerInstanceEvent
Represents an event triggered when a player interacts with a button in an AbstractInventory, such as the entries in a stonecutter, the buttons in an enchanting table, etc.
See the minecraft protocol wiki for a list of all button ids.