public static enum EntityData.Type extends Enum<EntityData.Type>
| Enum Constant and Description |
|---|
BYTE |
FLAGS |
FLOAT |
INT |
LONG |
NBT |
SHORT |
STRING |
VECTOR3F |
VECTOR3I |
| Modifier and Type | Method and Description |
|---|---|
static EntityData.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityData.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityData.Type FLAGS
public static final EntityData.Type BYTE
public static final EntityData.Type SHORT
public static final EntityData.Type INT
public static final EntityData.Type FLOAT
public static final EntityData.Type STRING
public static final EntityData.Type NBT
public static final EntityData.Type VECTOR3I
public static final EntityData.Type LONG
public static final EntityData.Type VECTOR3F
public static EntityData.Type[] values()
for (EntityData.Type c : EntityData.Type.values()) System.out.println(c);
public static EntityData.Type 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 nullCopyright © 2018–2019 NukkitX. All rights reserved.