BedrioxDOCUMENTATION
API CLASS

Inventory

An immutable inventory snapshot containing no protocol stack identifiers.

Bedriox\Api\Inventory\Inventory
classBedriox\Api\Inventory

Public methods

__construct(array $slots, int $selectedHotbarSlot, ?Bedriox\Api\Inventory\ItemStack $cursor = null)

Typed public method.

stackAt(int $slot): ?Bedriox\Api\Inventory\ItemStack

Typed public method.

View exact source ↗