Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Caution
This class is still in pre-release. Its signature may change or it may be removed in future releases.
Contains information regarding an event after a player's inventory item changes.
Properties
beforeItemStack
read-only beforeItemStack?: ItemStack;
The previous item stack.
Type: ItemStack
inventoryType
read-only inventoryType: PlayerInventoryType;
Inventory type.
Type: PlayerInventoryType
itemStack
read-only itemStack?: ItemStack;
The new item stack.
Type: ItemStack
player
read-only player: Player;
Source Player for this event.
Type: Player
slot
read-only slot: number;
The slot index with the change.
Type: number