public enum MetaType1_9 extends java.lang.Enum<MetaType1_9> implements MetaType
MetaType.MetaTypeImpl
Enum Constant and Description |
---|
BlockID |
Boolean |
Byte |
Chat |
Direction |
Float |
OptPosition |
OptUUID |
Position |
Slot |
String |
VarInt |
Vector3F |
Modifier and Type | Method and Description |
---|---|
static MetaType1_9 |
byId(int id) |
Type |
type()
Get the write/read type
|
int |
typeId()
Get type id from the specific MetaDataType
|
static MetaType1_9 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MetaType1_9[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetaType1_9 Byte
public static final MetaType1_9 VarInt
public static final MetaType1_9 Float
public static final MetaType1_9 String
public static final MetaType1_9 Chat
public static final MetaType1_9 Slot
public static final MetaType1_9 Boolean
public static final MetaType1_9 Vector3F
public static final MetaType1_9 Position
public static final MetaType1_9 OptPosition
public static final MetaType1_9 Direction
public static final MetaType1_9 OptUUID
public static final MetaType1_9 BlockID
public static MetaType1_9[] values()
for (MetaType1_9 c : MetaType1_9.values()) System.out.println(c);
public static MetaType1_9 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 MetaType1_9 byId(int id)
public int typeId()
MetaType