Enum Class EntityTypes1_19_3
java.lang.Object
java.lang.Enum<EntityTypes1_19_3>
com.viaversion.viaversion.api.minecraft.entities.EntityTypes1_19_3
- All Implemented Interfaces:
EntityType
,Serializable
,Comparable<EntityTypes1_19_3>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
Returns the entity id.@Nullable EntityType
Returns the parent entity type if present.static EntityType
getTypeFromId
(int typeId) Returns the entity's Vanilla identifier.static void
initialize
(Protocol<?, ?, ?, ?> protocol) boolean
Returns whether the type does not represent an actual entity, e.g.static EntityTypes1_19_3
Returns the enum constant of this class with the specified name.static EntityTypes1_19_3[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.viaversion.viaversion.api.minecraft.entities.EntityType
is, isOrHasParent, name
-
Enum Constant Details
-
ENTITY
-
AREA_EFFECT_CLOUD
-
END_CRYSTAL
-
EVOKER_FANGS
-
EXPERIENCE_ORB
-
EYE_OF_ENDER
-
FALLING_BLOCK
-
ITEM
-
TNT
-
MARKER
-
LIGHTNING_BOLT
-
HANGING_ENTITY
-
LEASH_KNOT
-
PAINTING
-
ITEM_FRAME
-
GLOW_ITEM_FRAME
-
PROJECTILE
-
ITEM_PROJECTILE
-
SNOWBALL
-
ENDER_PEARL
-
EGG
-
POTION
-
EXPERIENCE_BOTTLE
-
FIREWORK_ROCKET
-
LLAMA_SPIT
-
SHULKER_BULLET
-
FISHING_BOBBER
-
WITHER_SKULL
-
DRAGON_FIREBALL
-
ABSTRACT_ARROW
-
ARROW
-
SPECTRAL_ARROW
-
TRIDENT
-
ABSTRACT_FIREBALL
-
FIREBALL
-
SMALL_FIREBALL
-
VEHICLE
-
BOAT
-
ABSTRACT_MINECART
-
MINECART
-
FURNACE_MINECART
-
COMMAND_BLOCK_MINECART
-
TNT_MINECART
-
SPAWNER_MINECART
-
CHEST_BOAT
-
ABSTRACT_MINECART_CONTAINER
-
CHEST_MINECART
-
HOPPER_MINECART
-
LIVING_ENTITY
-
ARMOR_STAND
-
PLAYER
-
MOB
-
ENDER_DRAGON
-
SLIME
-
MAGMA_CUBE
-
AMBIENT_CREATURE
-
BAT
-
FLYING_MOB
-
GHAST
-
PHANTOM
-
PATHFINDER_MOB
-
ALLAY
-
ABSTRACT_GOLEM
-
SNOW_GOLEM
-
IRON_GOLEM
-
SHULKER
-
WATER_ANIMAL
-
DOLPHIN
-
SQUID
-
GLOW_SQUID
-
ABSTRACT_FISH
-
PUFFERFISH
-
TADPOLE
-
ABSTRACT_SCHOOLING_FISH
-
COD
-
SALMON
-
TROPICAL_FISH
-
ABSTRACT_AGEABLE
-
ABSTRACT_VILLAGER
-
VILLAGER
-
WANDERING_TRADER
-
ABSTRACT_ANIMAL
-
AXOLOTL
-
CHICKEN
-
PANDA
-
PIG
-
POLAR_BEAR
-
RABBIT
-
SHEEP
-
BEE
-
TURTLE
-
FOX
-
FROG
-
GOAT
-
HOGLIN
-
STRIDER
-
COW
-
MOOSHROOM
-
TAMABLE_ANIMAL
-
CAT
-
OCELOT
-
WOLF
-
PARROT
-
ABSTRACT_HORSE
-
HORSE
-
SKELETON_HORSE
-
ZOMBIE_HORSE
-
CAMEL
-
ABSTRACT_CHESTED_HORSE
-
DONKEY
-
MULE
-
LLAMA
-
TRADER_LLAMA
-
ABSTRACT_MONSTER
-
BLAZE
-
CREEPER
-
ENDERMITE
-
ENDERMAN
-
GIANT
-
SILVERFISH
-
VEX
-
WITHER
-
ZOGLIN
-
WARDEN
-
ABSTRACT_SKELETON
-
SKELETON
-
STRAY
-
WITHER_SKELETON
-
ZOMBIE
-
DROWNED
-
HUSK
-
ZOMBIFIED_PIGLIN
-
ZOMBIE_VILLAGER
-
GUARDIAN
-
ELDER_GUARDIAN
-
SPIDER
-
CAVE_SPIDER
-
ABSTRACT_PIGLIN
-
PIGLIN
-
PIGLIN_BRUTE
-
ABSTRACT_RAIDER
-
WITCH
-
RAVAGER
-
ABSTRACT_ILLAGER
-
SPELLCASTER_ILLAGER
-
VINDICATOR
-
PILLAGER
-
EVOKER
-
ILLUSIONER
-
-
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
-
getId
public int getId()Description copied from interface:EntityType
Returns the entity id.- Specified by:
getId
in interfaceEntityType
- Returns:
- entity id
-
identifier
Description copied from interface:EntityType
Returns the entity's Vanilla identifier.- Specified by:
identifier
in interfaceEntityType
- Returns:
- entity identifier
-
getParent
Description copied from interface:EntityType
Returns the parent entity type if present.- Specified by:
getParent
in interfaceEntityType
- Returns:
- parent entity type if present
-
isAbstractType
public boolean isAbstractType()Description copied from interface:EntityType
Returns whether the type does not represent an actual entity, e.g. animal or monster.- Specified by:
isAbstractType
in interfaceEntityType
- Returns:
- whether the type does not represent an actual entity
-
getTypeFromId
-
initialize
-