public enum NBTType extends Enum<NBTType>
Enum Constant and Description |
---|
NBTTagByte |
NBTTagByteArray |
NBTTagCompound |
NBTTagDouble |
NBTTagEnd |
NBTTagFloat |
NBTTagInt |
NBTTagIntArray |
NBTTagList |
NBTTagLong |
NBTTagLongArray |
NBTTagShort |
NBTTagString |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static NBTType |
valueOf(int id) |
static NBTType |
valueOf(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 NBTTagString
public static final NBTType NBTTagList
public static final NBTType NBTTagCompound
public static final NBTType NBTTagIntArray
public static final NBTType NBTTagLongArray
public static NBTType[] values()
for (NBTType c : NBTType.values()) System.out.println(c);
public static NBTType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getId()
public static NBTType valueOf(int id)
id
- Internal Minecraft idCopyright © 2015–2024 tr7zw. All rights reserved.