Package devs.beer.nativepackets.api
Interface PlayerInventoryPacketView
- All Superinterfaces:
PacketView
Lazy copy-on-write view of one player-inventory slot.
-
Method Summary
Modifier and TypeMethodDescriptionitem()Returns the borrowed item; valid only while this view is active.voiditem(NativeItem value) intslot()voidslot(int value) Methods inherited from interface devs.beer.nativepackets.api.PacketView
isModified, nativeHandle, type
-
Method Details
-
slot
int slot() -
item
NativeItem item()Returns the borrowed item; valid only while this view is active. -
slot
void slot(int value) -
item
-