ItemNbt
Immutable, bounded little-endian NBT compound attached to one item stack.
Bedriox\Api\Inventory\ItemNbt
classBedriox\Api\Inventory
Public methods
static empty(): selfTyped public method.
static fromBinary(string $binary): selfTyped public method.
toBinary(): stringTyped public method.
isEmpty(): boolTyped public method.
equals(self $other): boolTyped public method.
withTag(string $name, Bedriox\Api\Nbt\Tag $tag): selfTyped public method.
tag(string $name): ?Bedriox\Api\Nbt\TagTyped public method.
withoutTag(string $name): selfTyped public method.
withString(string $name, string $value): selfTyped public method.
string(string $name): ?stringTyped public method.
int(string $name): ?intTyped public method.
Constants
MAX_BYTES
