Package devs.beer.nativepackets.api
Interface SelectBundleItemPacketView
- All Superinterfaces:
PacketView
Copy-on-write serverbound bundle item selection.
-
Method Summary
Modifier and TypeMethodDescriptionintvoidselectedItemIndex(int selectedItemIndex) Changes the non-negative selected item index;-1clears the selection.intslotId()voidslotId(int slotId) Changes the non-negative inventory slot containing the bundle.Methods inherited from interface devs.beer.nativepackets.api.PacketView
isModified, nativeHandle, type
-
Method Details
-
slotId
int slotId() -
slotId
void slotId(int slotId) Changes the non-negative inventory slot containing the bundle. -
selectedItemIndex
int selectedItemIndex() -
selectedItemIndex
void selectedItemIndex(int selectedItemIndex) Changes the non-negative selected item index;-1clears the selection.
-