BedrioxDOCUMENTATION
API CLASS

ItemStack

Public class in Bedriox\Api\Inventory.

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

Public methods

__construct(string $identifier, int $count, int $damage = 0, ?Bedriox\Api\Inventory\ItemNbt $nbt = null, int $auxValue = 0)

Typed public method.

getIdentifier(): string

Typed public method.

is(string|Bedriox\Api\Inventory\ItemTag $identity): bool

Typed public method.

hasTag(Bedriox\Api\Inventory\ItemTag $tag): bool

Typed public method.

getTags(): array

Typed public method.

View exact source ↗