public static enum EntityTypes1_12.EntityType extends java.lang.Enum<EntityTypes1_12.EntityType> implements EntityType
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<EntityTypes1_12.EntityType> |
findById(int id) |
int |
getId()
Returns the entity id.
|
EntityTypes1_12.EntityType |
getParent()
Returns the parent entity type if present.
|
java.lang.String |
identifier()
Returns the entity's Vanilla identifier.
|
boolean |
isAbstractType()
Returns whether the type does not represent an actual entity, e.g.
|
static EntityTypes1_12.EntityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityTypes1_12.EntityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
is, isOrHasParent, name
public static final EntityTypes1_12.EntityType ENTITY
public static final EntityTypes1_12.EntityType DROPPED_ITEM
public static final EntityTypes1_12.EntityType EXPERIENCE_ORB
public static final EntityTypes1_12.EntityType LEASH_HITCH
public static final EntityTypes1_12.EntityType PAINTING
public static final EntityTypes1_12.EntityType ARROW
public static final EntityTypes1_12.EntityType SNOWBALL
public static final EntityTypes1_12.EntityType FIREBALL
public static final EntityTypes1_12.EntityType SMALL_FIREBALL
public static final EntityTypes1_12.EntityType ENDER_PEARL
public static final EntityTypes1_12.EntityType ENDER_SIGNAL
public static final EntityTypes1_12.EntityType THROWN_EXP_BOTTLE
public static final EntityTypes1_12.EntityType ITEM_FRAME
public static final EntityTypes1_12.EntityType WITHER_SKULL
public static final EntityTypes1_12.EntityType PRIMED_TNT
public static final EntityTypes1_12.EntityType FALLING_BLOCK
public static final EntityTypes1_12.EntityType FIREWORK
public static final EntityTypes1_12.EntityType SPECTRAL_ARROW
public static final EntityTypes1_12.EntityType SHULKER_BULLET
public static final EntityTypes1_12.EntityType DRAGON_FIREBALL
public static final EntityTypes1_12.EntityType EVOCATION_FANGS
public static final EntityTypes1_12.EntityType ENTITY_LIVING
public static final EntityTypes1_12.EntityType ENTITY_INSENTIENT
public static final EntityTypes1_12.EntityType ENTITY_AGEABLE
public static final EntityTypes1_12.EntityType ENTITY_TAMEABLE_ANIMAL
public static final EntityTypes1_12.EntityType ENTITY_HUMAN
public static final EntityTypes1_12.EntityType ARMOR_STAND
public static final EntityTypes1_12.EntityType ENTITY_ILLAGER_ABSTRACT
public static final EntityTypes1_12.EntityType EVOCATION_ILLAGER
public static final EntityTypes1_12.EntityType VEX
public static final EntityTypes1_12.EntityType VINDICATION_ILLAGER
public static final EntityTypes1_12.EntityType ILLUSION_ILLAGER
public static final EntityTypes1_12.EntityType MINECART_ABSTRACT
public static final EntityTypes1_12.EntityType MINECART_COMMAND
public static final EntityTypes1_12.EntityType BOAT
public static final EntityTypes1_12.EntityType MINECART_RIDEABLE
public static final EntityTypes1_12.EntityType MINECART_CHEST
public static final EntityTypes1_12.EntityType MINECART_FURNACE
public static final EntityTypes1_12.EntityType MINECART_TNT
public static final EntityTypes1_12.EntityType MINECART_HOPPER
public static final EntityTypes1_12.EntityType MINECART_MOB_SPAWNER
public static final EntityTypes1_12.EntityType CREEPER
public static final EntityTypes1_12.EntityType ABSTRACT_SKELETON
public static final EntityTypes1_12.EntityType SKELETON
public static final EntityTypes1_12.EntityType WITHER_SKELETON
public static final EntityTypes1_12.EntityType STRAY
public static final EntityTypes1_12.EntityType SPIDER
public static final EntityTypes1_12.EntityType GIANT
public static final EntityTypes1_12.EntityType ZOMBIE
public static final EntityTypes1_12.EntityType HUSK
public static final EntityTypes1_12.EntityType ZOMBIE_VILLAGER
public static final EntityTypes1_12.EntityType SLIME
public static final EntityTypes1_12.EntityType GHAST
public static final EntityTypes1_12.EntityType PIG_ZOMBIE
public static final EntityTypes1_12.EntityType ENDERMAN
public static final EntityTypes1_12.EntityType CAVE_SPIDER
public static final EntityTypes1_12.EntityType SILVERFISH
public static final EntityTypes1_12.EntityType BLAZE
public static final EntityTypes1_12.EntityType MAGMA_CUBE
public static final EntityTypes1_12.EntityType ENDER_DRAGON
public static final EntityTypes1_12.EntityType WITHER
public static final EntityTypes1_12.EntityType BAT
public static final EntityTypes1_12.EntityType WITCH
public static final EntityTypes1_12.EntityType ENDERMITE
public static final EntityTypes1_12.EntityType GUARDIAN
public static final EntityTypes1_12.EntityType ELDER_GUARDIAN
public static final EntityTypes1_12.EntityType IRON_GOLEM
public static final EntityTypes1_12.EntityType SHULKER
public static final EntityTypes1_12.EntityType PIG
public static final EntityTypes1_12.EntityType SHEEP
public static final EntityTypes1_12.EntityType COW
public static final EntityTypes1_12.EntityType CHICKEN
public static final EntityTypes1_12.EntityType SQUID
public static final EntityTypes1_12.EntityType WOLF
public static final EntityTypes1_12.EntityType MUSHROOM_COW
public static final EntityTypes1_12.EntityType SNOWMAN
public static final EntityTypes1_12.EntityType OCELOT
public static final EntityTypes1_12.EntityType PARROT
public static final EntityTypes1_12.EntityType ABSTRACT_HORSE
public static final EntityTypes1_12.EntityType HORSE
public static final EntityTypes1_12.EntityType SKELETON_HORSE
public static final EntityTypes1_12.EntityType ZOMBIE_HORSE
public static final EntityTypes1_12.EntityType CHESTED_HORSE
public static final EntityTypes1_12.EntityType DONKEY
public static final EntityTypes1_12.EntityType MULE
public static final EntityTypes1_12.EntityType LIAMA
public static final EntityTypes1_12.EntityType RABBIT
public static final EntityTypes1_12.EntityType POLAR_BEAR
public static final EntityTypes1_12.EntityType VILLAGER
public static final EntityTypes1_12.EntityType ENDER_CRYSTAL
public static final EntityTypes1_12.EntityType SPLASH_POTION
public static final EntityTypes1_12.EntityType LINGERING_POTION
public static final EntityTypes1_12.EntityType AREA_EFFECT_CLOUD
public static final EntityTypes1_12.EntityType EGG
public static final EntityTypes1_12.EntityType FISHING_HOOK
public static final EntityTypes1_12.EntityType LIGHTNING
public static final EntityTypes1_12.EntityType WEATHER
public static final EntityTypes1_12.EntityType PLAYER
public static final EntityTypes1_12.EntityType COMPLEX_PART
public static final EntityTypes1_12.EntityType LIAMA_SPIT
public static EntityTypes1_12.EntityType[] values()
for (EntityTypes1_12.EntityType c : EntityTypes1_12.EntityType.values()) System.out.println(c);
public static EntityTypes1_12.EntityType 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()
EntityType
getId
in interface EntityType
public EntityTypes1_12.EntityType getParent()
EntityType
getParent
in interface EntityType
public java.lang.String identifier()
EntityType
identifier
in interface EntityType
public boolean isAbstractType()
EntityType
isAbstractType
in interface EntityType
public static java.util.Optional<EntityTypes1_12.EntityType> findById(int id)