interfaceSource
public sealed interface NbtTag
permits NbtCompound, NbtList, NbtString, NbtByte, NbtBoolean, NbtShort, NbtInt, NbtLong, NbtFloat, NbtDouble, NbtByteArray, NbtIntArray, NbtLongArray, NbtEnd- Known implementations
- NbtBoolean, NbtByte, NbtByteArray, NbtCompound, NbtDouble, NbtEnd, NbtFloat, NbtInt, NbtIntArray, NbtList, NbtLong, NbtLongArray, NbtShort, NbtString
Methods
default NbtTag copy()Deep copy, tags that can't change anyway just return themselves
| Returns | ||
|---|---|---|
NbtTag | ||
byte id()| Returns | ||
|---|---|---|
byte | ||
Used by
Methods of other types that accept or return NbtTag.