Enum Constant and Description |
---|
NBTTagByte |
NBTTagByteArray |
NBTTagCompound |
NBTTagDouble |
NBTTagEnd |
NBTTagFloat |
NBTTagInt |
NBTTagIntArray |
NBTTagList |
NBTTagLong |
NBTTagShort |
NBTTagString |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static NBTType |
valueOf(int id) |
static NBTType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NBTType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NBTType NBTTagEnd
public static final NBTType NBTTagByte
public static final NBTType NBTTagShort
public static final NBTType NBTTagInt
public static final NBTType NBTTagLong
public static final NBTType NBTTagFloat
public static final NBTType NBTTagDouble
public static final NBTType NBTTagByteArray
public static final NBTType NBTTagIntArray
public static final NBTType NBTTagString
public static final NBTType NBTTagList
public static final NBTType NBTTagCompound
public static NBTType[] values()
for (NBTType c : NBTType.values()) System.out.println(c);
public static NBTType 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 NBTType valueOf(int id)
public int getId()