All Methods Static Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
boolean |
contains(String key) |
static CompoundTag |
createFromList(String name,
List<Tag<?>> list) |
boolean |
equals(Object o) |
<T extends Tag<?>> T |
get(String key) |
boolean |
getAsBoolean(String key) |
boolean |
getAsBoolean(String key,
boolean defaultValue) |
byte |
getAsByte(String key) |
byte |
getAsByte(String key,
byte defaultValue) |
byte[] |
getAsByteArray(String key) |
byte[] |
getAsByteArray(String key,
byte[] defaultValue) |
CompoundTag |
getAsCompound(String key) |
CompoundTag |
getAsCompound(String key,
CompoundTag defaultValue) |
double |
getAsDouble(String key) |
double |
getAsDouble(String key,
double defaultValue) |
float |
getAsFloat(String key) |
float |
getAsFloat(String key,
float defaultValue) |
int |
getAsInt(String key) |
int |
getAsInt(String key,
int defaultValue) |
int[] |
getAsIntArray(String key) |
int[] |
getAsIntArray(String key,
int[] defaultValue) |
<T extends Tag<?>> List<T> |
getAsList(String key,
Class<T> tagClass) |
<T extends Tag<?>> List<T> |
getAsList(String key,
Class<T> tagClass,
List<T> defaultValue) |
long |
getAsLong(String key) |
long |
getAsLong(String key,
long defaultValue) |
long[] |
getAsLongArray(String key) |
long[] |
getAsLongArray(String key,
long[] defaultValue) |
short |
getAsShort(String key) |
short |
getAsShort(String key,
short defaultValue) |
String |
getAsString(String key) |
String |
getAsString(String key,
String defaultValue) |
Map<String,Tag<?>> |
getValue() |
int |
hashCode() |
void |
listenForBoolean(String key,
BooleanConsumer consumer) |
void |
listenForByte(String key,
ByteConsumer consumer) |
void |
listenForByteArray(String key,
Consumer<byte[]> consumer) |
void |
listenForCompound(String key,
Consumer<CompoundTag> consumer) |
void |
listenForDouble(String key,
DoubleConsumer consumer) |
void |
listenForFloat(String key,
FloatConsumer consumer) |
void |
listenForInt(String key,
IntConsumer consumer) |
void |
listenForIntArray(String key,
Consumer<int[]> consumer) |
<T extends Tag<?>> void |
listenForList(String key,
Class<T> tagClass,
Consumer<List<T>> consumer) |
void |
listenForLong(String key,
LongConsumer consumer) |
void |
listenForLongArray(String key,
Consumer<long[]> consumer) |
void |
listenForShort(String key,
ShortConsumer consumer) |
void |
listenForString(String key,
Consumer<String> consumer) |
CompoundTagBuilder |
toBuilder() |
String |
toString() |