OffHandInventory
Immutable off-hand snapshot with session-bound authoritative mutations.
Bedriox\Api\Inventory\OffHandInventory
classBedriox\Api\Inventory
Public methods
__construct(?Bedriox\Api\Inventory\ItemStack $item, Bedriox\Api\Inventory\PlayerInventoryActions $actions)Typed public method.
getItem(): ?Bedriox\Api\Inventory\ItemStackTyped public method.
setItem(?Bedriox\Api\Inventory\ItemStack $stack): voidTyped public method.
clear(): voidTyped public method.
isEmpty(): boolTyped public method.
