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