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