Optionalname: null | stringThe name of the tag, defaults to null.
Readonly[toThe name of the nbt tag.
ReadonlysizeReadonlytypeThe nbt tag type of the data type.
Static Readonly[species]Returns an iterable of entries in the map.
true if an element in the Map existed and has been removed, or false if the element does not exist.
Returns an iterable of key, value pairs for every entry in the map.
boolean indicating whether an element with the specified key exists or not.
Returns an iterable of keys in the map
Returns an iterable of values in the map
StaticgroupStaticreadRead the nbt tag from the stream.
The binary stream to read from.
The options for reading the tag.
StaticwriteWrite the nbt tag to the stream.
The binary stream to write to.
The value of the tag to write.
The options for writing the tag.
Create a new CompoundTag instance.