The PlayerInventoryType enum in @minecraft/server.
Enum in @minecraft/server
import { PlayerInventoryType } from '@minecraft/server';Values
Section titled “Values”| Name | Value | Description |
|---|---|---|
Hotbar |
'Hotbar' |
|
Inventory |
'Inventory' |
Used by
Section titled “Used by”PlayerInventoryItemChangeAfterEvent.inventoryType, InventoryItemEventOptions.inventoryType