Modifier and Type | Class and Description |
---|---|
class |
ByteArrayTag
The
TAG_Byte_Array tag. |
class |
ByteTag
The
TAG_Byte tag. |
class |
CompoundTag
The
TAG_Compound tag. |
class |
DoubleTag
The
TAG_Double tag. |
class |
EndTag
The
TAG_End tag. |
class |
FloatTag
The
TAG_Float tag. |
class |
IntArrayTag
The
TAG_Byte_Array tag. |
class |
IntTag
The
TAG_Int tag. |
class |
ListTag
The
TAG_List tag. |
class |
LongTag
The
TAG_Long tag. |
class |
ShortTag
The
TAG_Short tag. |
class |
StringTag
The
TAG_String tag. |
Modifier and Type | Method and Description |
---|---|
Tag |
NBTInputStream.readTag()
Reads an NBT tag from the stream.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Tag> |
ListTag.getType()
Gets the type of item in this list.
|
static java.lang.Class<? extends Tag> |
NBTUtils.getTypeClass(int type)
Gets the class of a type of tag.
|
java.util.List<Tag> |
ListTag.getValue() |
java.util.Map<java.lang.String,Tag> |
CompoundTag.getValue() |
Modifier and Type | Method and Description |
---|---|
void |
NBTOutputStream.writeTag(Tag tag)
Writes a tag.
|
Modifier and Type | Method and Description |
---|---|
static int |
NBTUtils.getTypeCode(java.lang.Class<? extends Tag> clazz)
Gets the type code of a tag class.
|
static java.lang.String |
NBTUtils.getTypeName(java.lang.Class<? extends Tag> clazz)
Gets the type name of a tag.
|
Constructor and Description |
---|
CompoundTag(java.lang.String name,
java.util.Map<java.lang.String,Tag> value)
Creates the tag.
|
ListTag(java.lang.String name,
java.lang.Class<? extends Tag> type,
java.util.List<Tag> value)
Creates the tag.
|
ListTag(java.lang.String name,
java.lang.Class<? extends Tag> type,
java.util.List<Tag> value)
Creates the tag.
|