endstone.nbt

Classes relating to the NBT data format.

Classes relating to the NBT data format.

Classes

classByteArrayTag

Bases: Tag

ByteArrayTag()

Methods

NameDescription
append
clear
extend

methappend

append(value: int) -> None

methclear

clear() -> None

methextend

extend(iterable: Iterable) -> None

classByteTag

Bases: Tag

ByteTag()

Attributes

NameTypeDescription
valueint

attrvalueproperty

value: int

classCompoundTag

Bases: Tag

CompoundTag()

methclear

clear() -> None

methitems

items() -> Iterator[tuple[str, Tag]]

methkeys

keys() -> Iterator[str]

methsetdefault

setdefault(key: str, default: Tag) -> Tag

methto_dict

to_dict() -> dict

methvalues

values() -> Iterator[Tag]

classDoubleTag

Bases: Tag

DoubleTag()

Attributes

NameTypeDescription
valuefloat

attrvalueproperty

value: float

classFloatTag

Bases: Tag

FloatTag()

Attributes

NameTypeDescription
valuefloat

attrvalueproperty

value: float

classIntArrayTag

Bases: Tag

IntArrayTag()

Methods

NameDescription
append
clear
extend

methappend

append(value: int) -> None

methclear

clear() -> None

methextend

extend(iterable: Iterable) -> None

classIntTag

Bases: Tag

IntTag()

Attributes

NameTypeDescription
valueint

attrvalueproperty

value: int

classListTag

Bases: Tag

ListTag()

methappend

append(tag: Tag) -> None

methclear

clear() -> None

methempty

empty() -> bool

methextend

extend(iterable: Iterable) -> None

methpop

pop(index: int = -1) -> Tag

methsize

size() -> int

methto_list

to_list() -> list

classLongTag

Bases: Tag

LongTag()

Attributes

NameTypeDescription
valueint

attrvalueproperty

value: int

classShortTag

Bases: Tag

ShortTag()

Attributes

NameTypeDescription
valueint

attrvalueproperty

value: int

classStringTag

Bases: Tag

StringTag()

Attributes

NameTypeDescription
valuestr

attrvalueproperty

value: str

classTag

Tag()

On this page