Package | Description |
---|---|
net.glowstone.util.mojangson | |
net.glowstone.util.nbt |
Modifier and Type | Method and Description |
---|---|
static Tag |
Mojangson.parseArray(String mojangson)
Parses an Array value from a Mojangson string.
|
static Tag |
Mojangson.parseTag(String mojangson)
Detects the Tag type of the Mojangson string, and parses it.
|
Modifier and Type | Method and Description |
---|---|
static String |
Mojangson.fromGenericTag(Tag tag)
Creates a Mojangson string from the given NBT Tag.
|
Modifier and Type | Method and Description |
---|---|
static String |
Mojangson.fromTag(ListTag<Tag> tag)
Creates a Mojangson string from the given List Tag.
|
Modifier and Type | Class and Description |
---|---|
class |
ListTag<T extends Tag>
The
TAG_List tag. |
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 |
FloatTag
The
TAG_Float tag. |
class |
IntArrayTag
The
TAG_Int_Array tag. |
class |
IntTag
The
TAG_Int tag. |
class |
ListTag<T extends Tag>
The
TAG_List tag. |
class |
LongTag
The
TAG_Long tag. |
class |
NumericTag<T extends Number> |
class |
ShortTag
The
TAG_Short tag. |
class |
StringTag
The
TAG_String tag. |
Modifier and Type | Method and Description |
---|---|
Map<String,Tag> |
CompoundTag.getValue()
The value.
|
Modifier and Type | Method and Description |
---|---|
void |
NbtOutputStream.writeTag(Tag tag)
Write a tag with a blank name (the root tag) to the stream.
|
Modifier and Type | Method and Description |
---|---|
<V> void |
CompoundTag.putList(@NonNls String key,
TagType type,
List<V> value,
Function<? super V,? extends Tag> tagCreator)
Adds or replaces a list subtag, converting the list entries to tags.
|
Constructor and Description |
---|
CompoundTag(Map<String,Tag> value) |
Copyright © 2021. All rights reserved.