Package devs.beer.nativepackets.api
Interface ContainerButtonClickPacketView
- All Superinterfaces:
PacketView
Copy-on-write view of a serverbound container-button click.
-
Method Summary
Modifier and TypeMethodDescriptionintbuttonId()voidbuttonId(int buttonId) Changes the menu-specific button id; its valid range depends on the menu type.intvoidcontainerId(int containerId) Changes the non-negative target container id.Methods inherited from interface devs.beer.nativepackets.api.PacketView
isModified, nativeHandle, type
-
Method Details
-
containerId
int containerId() -
containerId
void containerId(int containerId) Changes the non-negative target container id. -
buttonId
int buttonId() -
buttonId
void buttonId(int buttonId) Changes the menu-specific button id; its valid range depends on the menu type.
-