public enum EntityType extends Enum<EntityType>
| Enum Constant and Description | 
|---|
| AREA_EFFECT_CLOUD | 
| ARMOR_STANDMechanical entity with an inventory for placing weapons / armor into. | 
| ARROWAn arrow projectile; may get stuck in the ground. | 
| BAT | 
| BLAZE | 
| BOATA placed boat. | 
| CAVE_SPIDER | 
| CHICKEN | 
| COMPLEX_PART | 
| COW | 
| CREEPER | 
| DONKEY | 
| DRAGON_FIREBALLLike  FIREBALLbut with added effects. | 
| DROPPED_ITEMAn item resting on the ground. | 
| EGGA flying chicken egg. | 
| ELDER_GUARDIAN | 
| ENDER_CRYSTAL | 
| ENDER_DRAGON | 
| ENDER_PEARLA flying ender pearl. | 
| ENDER_SIGNALAn ender eye signal. | 
| ENDERMAN | 
| ENDERMITE | 
| EVOKER | 
| EVOKER_FANGS | 
| EXPERIENCE_ORBAn experience orb. | 
| FALLING_BLOCKA block that is going to or is about to fall. | 
| FIREBALLA flying large fireball, as thrown by a Ghast for example. | 
| FIREWORKInternal representation of a Firework once it has been launched. | 
| FISHING_HOOKA fishing line and bobber. | 
| GHAST | 
| GIANT | 
| GUARDIAN | 
| HORSE | 
| HUSK | 
| IRON_GOLEM | 
| ITEM_FRAMEAn item frame on a wall. | 
| LEASH_HITCHA leash attached to a fencepost. | 
| LIGHTNINGA bolt of lightning. | 
| LINGERING_POTIONA flying lingering potion | 
| LLAMA | 
| LLAMA_SPIT | 
| MAGMA_CUBE | 
| MINECART | 
| MINECART_CHEST | 
| MINECART_COMMAND | 
| MINECART_FURNACE | 
| MINECART_HOPPER | 
| MINECART_MOB_SPAWNER | 
| MINECART_TNT | 
| MULE | 
| MUSHROOM_COW | 
| OCELOT | 
| PAINTINGA painting on a wall. | 
| PIG | 
| PIG_ZOMBIE | 
| PLAYER | 
| POLAR_BEAR | 
| PRIMED_TNTPrimed TNT that is about to explode. | 
| RABBIT | 
| SHEEP | 
| SHULKER | 
| SHULKER_BULLETBullet fired by  SHULKER. | 
| SILVERFISH | 
| SKELETON | 
| SKELETON_HORSE | 
| SLIME | 
| SMALL_FIREBALLA flying small fireball, such as thrown by a Blaze or player. | 
| SNOWBALLA flying snowball. | 
| SNOWMAN | 
| SPECTRAL_ARROWLike  TIPPED_ARROWbut causes thePotionEffectType.GLOWINGeffect on all team members. | 
| SPIDER | 
| SPLASH_POTIONA flying splash potion. | 
| SQUID | 
| STRAY | 
| THROWN_EXP_BOTTLEA flying experience bottle. | 
| TIPPED_ARROWLike  ARROWbut tipped with a specific potion which is applied on
 contact. | 
| UNKNOWNAn unknown entity without an Entity Class | 
| VEX | 
| VILLAGER | 
| VINDICATOR | 
| WEATHER | 
| WITCH | 
| WITHER | 
| WITHER_SKELETON | 
| WITHER_SKULLA flying wither skull projectile. | 
| WOLF | 
| ZOMBIE | 
| ZOMBIE_HORSE | 
| ZOMBIE_VILLAGER | 
| Modifier and Type | Method and Description | 
|---|---|
| static EntityType | fromId(int id)Deprecated. 
 Magic value | 
| static EntityType | fromName(String name)Deprecated. 
 Magic value | 
| Class<? extends Entity> | getEntityClass() | 
| String | getName()Deprecated. 
 Magic value | 
| short | getTypeId()Deprecated. 
 Magic value | 
| boolean | isAlive() | 
| boolean | isSpawnable()Some entities cannot be spawned using  World.spawnEntity(Location, EntityType)orWorld.spawn(Location, Class), usually because they require additional
 information in order to spawn. | 
| static EntityType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static EntityType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final EntityType DROPPED_ITEM
 Spawn with World.dropItem(Location, ItemStack) or World.dropItemNaturally(Location, ItemStack)
public static final EntityType EXPERIENCE_ORB
public static final EntityType AREA_EFFECT_CLOUD
AreaEffectCloudpublic static final EntityType ELDER_GUARDIAN
ElderGuardianpublic static final EntityType WITHER_SKELETON
WitherSkeletonpublic static final EntityType STRAY
Straypublic static final EntityType EGG
public static final EntityType LEASH_HITCH
public static final EntityType PAINTING
public static final EntityType ARROW
public static final EntityType SNOWBALL
public static final EntityType FIREBALL
public static final EntityType SMALL_FIREBALL
public static final EntityType ENDER_PEARL
public static final EntityType ENDER_SIGNAL
public static final EntityType SPLASH_POTION
public static final EntityType THROWN_EXP_BOTTLE
public static final EntityType ITEM_FRAME
public static final EntityType WITHER_SKULL
public static final EntityType PRIMED_TNT
public static final EntityType FALLING_BLOCK
public static final EntityType FIREWORK
public static final EntityType HUSK
Huskpublic static final EntityType SPECTRAL_ARROW
TIPPED_ARROW but causes the PotionEffectType.GLOWING effect on all team members.public static final EntityType SHULKER_BULLET
SHULKER.public static final EntityType DRAGON_FIREBALL
FIREBALL but with added effects.public static final EntityType ZOMBIE_VILLAGER
ZombieVillagerpublic static final EntityType SKELETON_HORSE
SkeletonHorsepublic static final EntityType ZOMBIE_HORSE
ZombieHorsepublic static final EntityType ARMOR_STAND
public static final EntityType DONKEY
Donkeypublic static final EntityType MULE
Mulepublic static final EntityType EVOKER_FANGS
EvokerFangspublic static final EntityType EVOKER
Evokerpublic static final EntityType VEX
Vexpublic static final EntityType VINDICATOR
Vindicatorpublic static final EntityType MINECART_COMMAND
CommandMinecartpublic static final EntityType BOAT
public static final EntityType MINECART
RideableMinecartpublic static final EntityType MINECART_CHEST
StorageMinecartpublic static final EntityType MINECART_FURNACE
PoweredMinecartpublic static final EntityType MINECART_TNT
ExplosiveMinecartpublic static final EntityType MINECART_HOPPER
HopperMinecartpublic static final EntityType MINECART_MOB_SPAWNER
SpawnerMinecartpublic static final EntityType CREEPER
public static final EntityType SKELETON
public static final EntityType SPIDER
public static final EntityType GIANT
public static final EntityType ZOMBIE
public static final EntityType SLIME
public static final EntityType GHAST
public static final EntityType PIG_ZOMBIE
public static final EntityType ENDERMAN
public static final EntityType CAVE_SPIDER
public static final EntityType SILVERFISH
public static final EntityType BLAZE
public static final EntityType MAGMA_CUBE
public static final EntityType ENDER_DRAGON
public static final EntityType WITHER
public static final EntityType BAT
public static final EntityType WITCH
public static final EntityType ENDERMITE
public static final EntityType GUARDIAN
public static final EntityType SHULKER
public static final EntityType PIG
public static final EntityType SHEEP
public static final EntityType COW
public static final EntityType CHICKEN
public static final EntityType SQUID
public static final EntityType WOLF
public static final EntityType MUSHROOM_COW
public static final EntityType SNOWMAN
public static final EntityType OCELOT
public static final EntityType IRON_GOLEM
public static final EntityType HORSE
public static final EntityType RABBIT
public static final EntityType POLAR_BEAR
public static final EntityType LLAMA
public static final EntityType LLAMA_SPIT
public static final EntityType VILLAGER
public static final EntityType ENDER_CRYSTAL
public static final EntityType LINGERING_POTION
public static final EntityType FISHING_HOOK
public static final EntityType LIGHTNING
 Spawn with World.strikeLightning(Location).
public static final EntityType WEATHER
public static final EntityType PLAYER
public static final EntityType COMPLEX_PART
public static final EntityType TIPPED_ARROW
ARROW but tipped with a specific potion which is applied on
 contact.public static final EntityType UNKNOWN
public static EntityType[] values()
for (EntityType c : EntityType.values()) System.out.println(c);
public static EntityType 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 null@Deprecated public String getName()
@Deprecated public short getTypeId()
@Deprecated public static EntityType fromName(String name)
name - the entity type's name@Deprecated public static EntityType fromId(int id)
id - the raw type idpublic boolean isSpawnable()
World.spawnEntity(Location, EntityType) or World.spawn(Location, Class), usually because they require additional
 information in order to spawn.public boolean isAlive()
Copyright © 2017. All rights reserved.