NbtTagType enum Null safety

Different tags for each Nbt Tag that exists.

Constants

TAG_BYTE → const NbtTagType

A named NBT Tag used to store a single byte.

const NbtTagType(1)
TAG_BYTE_ARRAY → const NbtTagType

A named NBT Tag used to store a list of unnamed single bytes.

const NbtTagType(7)
TAG_COMPOUND → const NbtTagType

A named NBT Tag used to store a List of named NBT Tags of any type.

const NbtTagType(10)
TAG_DOUBLE → const NbtTagType

A named NBT Tag used to store a single 8 byte double precision floating point number.

const NbtTagType(6)
TAG_END → const NbtTagType

A NBT Tag used to indicate the end of a NbtCompound.

const NbtTagType(0)
TAG_FLOAT → const NbtTagType

A named NBT Tag used to store a single 4 byte single precision floating point number.

const NbtTagType(5)
TAG_INT → const NbtTagType

A named NBT Tag used to store a single big endian signed 4 byte integer.

const NbtTagType(3)
TAG_INT_ARRAY → const NbtTagType

A named NBT Tag used to store a list of unnamed big endian signed 4 byte integers.

const NbtTagType(11)
TAG_LIST → const NbtTagType

A named NBT Tag used to store a List of unnamed NBT Tags, all of which are from the same type.

const NbtTagType(9)
TAG_LONG → const NbtTagType

A named NBT Tag to store a single big endian signed 8 byte long integer.

const NbtTagType(4)
TAG_LONG_ARRAY → const NbtTagType

A named NBT Tag used to store a list of unnamed big endian signed 8 byte long integers.

const NbtTagType(12)
TAG_SHORT → const NbtTagType

A named NBT Tag used to store a single big endian signed 2 byte short integer.

const NbtTagType(2)
TAG_STRING → const NbtTagType

A named NBT Tag used to store a single String.

const NbtTagType(8)
values → const List<NbtTagType>

A constant List of the values in this enum, in order of their declaration.

const List<NbtTagType>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited