| Package | Description |
|---|---|
| com.sk89q.jnbt | |
| com.sk89q.worldedit.blocks |
| 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_Int_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 |
|---|---|
static <T extends Tag> |
NBTUtils.getChildTag(Map<String,Tag> items,
String key,
Class<T> expected)
Get child tag of a NBT structure.
|
| Modifier and Type | Method and Description |
|---|---|
Tag |
NBTInputStream.readTag()
Reads an NBT tag from the stream.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Tag> |
NBTConstants.getClassFromType(int id)
Convert a type ID to its corresponding
Tag class. |
Class<? extends Tag> |
ListTag.getType()
Gets the type of item in this list.
|
static Class<? extends Tag> |
NBTUtils.getTypeClass(int type)
Gets the class of a type of tag.
|
List<Tag> |
ListTag.getValue() |
Map<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 <T extends Tag> |
NBTUtils.getChildTag(Map<String,Tag> items,
String key,
Class<T> expected)
Get child tag of a NBT structure.
|
static int |
NBTUtils.getTypeCode(Class<? extends Tag> clazz)
Gets the type code of a tag class.
|
static String |
NBTUtils.getTypeName(Class<? extends Tag> clazz)
Gets the type name of a tag.
|
| Constructor and Description |
|---|
CompoundTag(String name,
Map<String,Tag> value)
Creates the tag.
|
ListTag(String name,
Class<? extends Tag> type,
List<? extends Tag> value)
Creates the tag.
|
ListTag(String name,
Class<? extends Tag> type,
List<? extends Tag> value)
Creates the tag.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Tag> |
ContainerBlock.serializeItem(BaseItemStack item) |
| Modifier and Type | Method and Description |
|---|---|
BaseItemStack |
ContainerBlock.deserializeItem(Map<String,Tag> data) |
Copyright © 2010-2014. All Rights Reserved.