public static enum EntityTypes1_11.ObjectType extends java.lang.Enum<EntityTypes1_11.ObjectType> implements ObjectType
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<EntityTypes1_11.ObjectType> |
findById(int id) |
int |
getId() |
static java.util.Optional<EntityTypes1_11.EntityType> |
getPCEntity(int id) |
EntityTypes1_11.EntityType |
getType() |
static EntityTypes1_11.ObjectType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityTypes1_11.ObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityTypes1_11.ObjectType BOAT
public static final EntityTypes1_11.ObjectType ITEM
public static final EntityTypes1_11.ObjectType AREA_EFFECT_CLOUD
public static final EntityTypes1_11.ObjectType MINECART
public static final EntityTypes1_11.ObjectType TNT_PRIMED
public static final EntityTypes1_11.ObjectType ENDER_CRYSTAL
public static final EntityTypes1_11.ObjectType TIPPED_ARROW
public static final EntityTypes1_11.ObjectType SNOWBALL
public static final EntityTypes1_11.ObjectType EGG
public static final EntityTypes1_11.ObjectType FIREBALL
public static final EntityTypes1_11.ObjectType SMALL_FIREBALL
public static final EntityTypes1_11.ObjectType ENDER_PEARL
public static final EntityTypes1_11.ObjectType WITHER_SKULL
public static final EntityTypes1_11.ObjectType SHULKER_BULLET
public static final EntityTypes1_11.ObjectType LIAMA_SPIT
public static final EntityTypes1_11.ObjectType FALLING_BLOCK
public static final EntityTypes1_11.ObjectType ITEM_FRAME
public static final EntityTypes1_11.ObjectType ENDER_SIGNAL
public static final EntityTypes1_11.ObjectType POTION
public static final EntityTypes1_11.ObjectType THROWN_EXP_BOTTLE
public static final EntityTypes1_11.ObjectType FIREWORK
public static final EntityTypes1_11.ObjectType LEASH
public static final EntityTypes1_11.ObjectType ARMOR_STAND
public static final EntityTypes1_11.ObjectType EVOCATION_FANGS
public static final EntityTypes1_11.ObjectType FISHIHNG_HOOK
public static final EntityTypes1_11.ObjectType SPECTRAL_ARROW
public static final EntityTypes1_11.ObjectType DRAGON_FIREBALL
public static EntityTypes1_11.ObjectType[] values()
for (EntityTypes1_11.ObjectType c : EntityTypes1_11.ObjectType.values()) System.out.println(c);
public static EntityTypes1_11.ObjectType 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 int getId()
getId
in interface ObjectType
public EntityTypes1_11.EntityType getType()
getType
in interface ObjectType
public static java.util.Optional<EntityTypes1_11.ObjectType> findById(int id)
public static java.util.Optional<EntityTypes1_11.EntityType> getPCEntity(int id)