Skip to content

Named Binary Tag (NBT)

endstone.nbt

Classes relating to the NBT data format.

Classes:

Name Description
ByteArrayTag
ByteTag
DoubleTag
FloatTag
IntArrayTag
IntTag
LongTag
ShortTag
StringTag

ByteArrayTag

ByteArrayTag()
ByteArrayTag(iterable: Iterable)
ByteArrayTag(buffer: Buffer)
ByteArrayTag()

Methods:

Name Description
append
clear
extend

append

append(value: int) -> None

clear

clear() -> None

extend

extend(iterable: Iterable) -> None

ByteTag

ByteTag()
ByteTag(value: int)
ByteTag()

Attributes:

Name Type Description
value int

value property

value: int

DoubleTag

DoubleTag()
DoubleTag(value: float)
DoubleTag()

Attributes:

Name Type Description
value float

value property

value: float

FloatTag

FloatTag()
FloatTag(value: float)
FloatTag()

Attributes:

Name Type Description
value float

value property

value: float

IntArrayTag

IntArrayTag()
IntArrayTag(iterable: Iterable)
IntArrayTag()

Methods:

Name Description
append
clear
extend

append

append(value: int) -> None

clear

clear() -> None

extend

extend(iterable: Iterable) -> None

IntTag

IntTag()
IntTag(value: int)
IntTag()

Attributes:

Name Type Description
value int

value property

value: int

LongTag

LongTag()
LongTag(value: int)
LongTag()

Attributes:

Name Type Description
value int

value property

value: int

ShortTag

ShortTag()
ShortTag(value: int)
ShortTag()

Attributes:

Name Type Description
value int

value property

value: int

StringTag

StringTag()
StringTag(value: str)
StringTag()

Attributes:

Name Type Description
value str

value property

value: str