public enum NBTParsers extends java.lang.Enum<NBTParsers> implements INBTParser
| Modifier and Type | Method and Description |
|---|---|
static <V,T extends net.minecraft.nbt.NBTBase> |
getBuiltinParser(java.lang.Class<V> type) |
static NBTParsers |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NBTParsers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfparseTag, parseValuepublic static final NBTParsers BOOLEAN
public static final NBTParsers BYTE
public static final NBTParsers CHAR
public static final NBTParsers SHORT
public static final NBTParsers INTEGER
public static final NBTParsers FLOAT
public static final NBTParsers LONG
public static final NBTParsers DOUBLE
public static final NBTParsers STRING
public static final NBTParsers BOOLEAN_ARRAY
public static final NBTParsers BOOLEAN_ARRAY_PRIM
public static final NBTParsers BYTE_ARRAY
public static final NBTParsers BYTE_ARRAY_PRIM
public static final NBTParsers CHAR_ARRAY
public static final NBTParsers CHAR_ARRAY_PRIM
public static final NBTParsers SHORT_ARRAY
public static final NBTParsers SHORT_ARRAY_PRIM
public static final NBTParsers INTEGER_ARRAY
public static final NBTParsers INTEGER_ARRAY_PRIM
public static final NBTParsers FLOAT_ARRAY
public static final NBTParsers FLOAT_ARRAY_PRIM
public static final NBTParsers LONG_ARRAY
public static final NBTParsers LONG_ARRAY_PRIM
public static final NBTParsers DOUBLE_ARRAY
public static final NBTParsers DOUBLE_ARRAY_PRIM
public static final NBTParsers STRING_ARRAY
public static final NBTParsers ITEM_STACK
public static final NBTParsers BLOCK_POS
public static NBTParsers[] values()
for (NBTParsers c : NBTParsers.values()) System.out.println(c);
public static NBTParsers valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static <V,T extends net.minecraft.nbt.NBTBase> INBTParser<V,T> getBuiltinParser(java.lang.Class<V> type)