Enum Class EntityType
- All Implemented Interfaces:
Serializable,Comparable<EntityType>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNot an entity in Bedrock, but used for the Ender Dragon's multiple hitboxesNot an entity in Bedrock, so we replace it with an evokerItem frames are handled differently since they are a block in Bedrock. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic String[]A list of all Java identifiers for use with command suggestions -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityTypegetFromIdentifier(String identifier)static EntityTypeReturns the enum constant of this class with the specified name.static EntityType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHICKEN
-
COW
-
PIG
-
SHEEP
-
WOLF
-
VILLAGER
-
MOOSHROOM
-
SQUID
-
RABBIT
-
BAT
-
IRON_GOLEM
-
SNOW_GOLEM
-
OCELOT
-
HORSE
-
DONKEY
-
MULE
-
SKELETON_HORSE
-
ZOMBIE_HORSE
-
POLAR_BEAR
-
LLAMA
-
TRADER_LLAMA
-
PARROT
-
DOLPHIN
-
ZOMBIE
-
GIANT
-
CREEPER
-
SKELETON
-
SPIDER
-
ZOMBIFIED_PIGLIN
-
SLIME
-
ENDERMAN
-
SILVERFISH
-
CAVE_SPIDER
-
GHAST
-
MAGMA_CUBE
-
BLAZE
-
ZOMBIE_VILLAGER
-
WITCH
-
STRAY
-
HUSK
-
WITHER_SKELETON
-
GUARDIAN
-
ELDER_GUARDIAN
-
NPC
-
WITHER
-
ENDER_DRAGON
-
SHULKER
-
ENDERMITE
-
AGENT
-
VINDICATOR
-
PILLAGER
-
WANDERING_TRADER
-
PHANTOM
-
RAVAGER
-
ARMOR_STAND
-
TRIPOD_CAMERA
-
PLAYER
-
ITEM
-
PRIMED_TNT
-
FALLING_BLOCK
-
MOVING_BLOCK
-
THROWN_EXP_BOTTLE
-
EXPERIENCE_ORB
-
EYE_OF_ENDER
-
END_CRYSTAL
-
FIREWORK_ROCKET
-
TRIDENT
-
TURTLE
-
CAT
-
SHULKER_BULLET
-
FISHING_BOBBER
-
CHALKBOARD
-
DRAGON_FIREBALL
-
ARROW
-
SPECTRAL_ARROW
-
SNOWBALL
-
THROWN_EGG
-
PAINTING
-
MINECART
-
FIREBALL
-
THROWN_POTION
-
THROWN_ENDERPEARL
-
LEASH_KNOT
-
WITHER_SKULL
-
BOAT
-
WITHER_SKULL_DANGEROUS
-
LIGHTNING_BOLT
-
SMALL_FIREBALL
-
AREA_EFFECT_CLOUD
-
MINECART_HOPPER
-
MINECART_TNT
-
MINECART_CHEST
-
MINECART_FURNACE
-
MINECART_SPAWNER
-
MINECART_COMMAND_BLOCK
-
LINGERING_POTION
-
LLAMA_SPIT
-
EVOKER_FANGS
-
EVOKER
-
VEX
-
ICE_BOMB
-
BALLOON
-
PUFFERFISH
-
SALMON
-
DROWNED
-
TROPICAL_FISH
-
COD
-
PANDA
-
FOX
-
BEE
-
STRIDER
-
HOGLIN
-
ZOGLIN
-
PIGLIN
-
PIGLIN_BRUTE
-
AXOLOTL
-
GLOW_SQUID
-
GOAT
-
MARKER
-
ITEM_FRAME
Item frames are handled differently since they are a block in Bedrock. -
GLOW_ITEM_FRAME
-
ILLUSIONER
Not an entity in Bedrock, so we replace it with an evoker -
ENDER_DRAGON_PART
Not an entity in Bedrock, but used for the Ender Dragon's multiple hitboxes
-
-
Field Details
-
ALL_JAVA_IDENTIFIERS
A list of all Java identifiers for use with command suggestions
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getFromIdentifier
-