Enum Class EntityTypes1_10.ObjectType
java.lang.Object
java.lang.Enum<EntityTypes1_10.ObjectType>
com.viaversion.viaversion.api.minecraft.entities.EntityTypes1_10.ObjectType
- All Implemented Interfaces:
ObjectType
,Serializable
,Comparable<EntityTypes1_10.ObjectType>
,Constable
- Enclosing class:
- EntityTypes1_10
public static enum EntityTypes1_10.ObjectType
extends Enum<EntityTypes1_10.ObjectType>
implements ObjectType
-
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 TypeMethodDescriptionstatic EntityTypes1_10.ObjectType
findById
(int id) static EntityTypes1_10.EntityType
getEntityType
(int id) int
getId()
getType()
static EntityTypes1_10.ObjectType
Returns the enum constant of this class with the specified name.static EntityTypes1_10.ObjectType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOAT
-
ITEM
-
AREA_EFFECT_CLOUD
-
MINECART
-
TNT_PRIMED
-
ENDER_CRYSTAL
-
TIPPED_ARROW
-
SNOWBALL
-
EGG
-
FIREBALL
-
SMALL_FIREBALL
-
ENDER_PEARL
-
WITHER_SKULL
-
SHULKER_BULLET
-
FALLING_BLOCK
-
ITEM_FRAME
-
EYE_OF_ENDER
-
POTION
-
EXPERIENCE_BOTTLE
-
FIREWORK_ROCKET
-
LEASH
-
ARMOR_STAND
-
FISHIHNG_HOOK
-
SPECTRAL_ARROW
-
DRAGON_FIREBALL
-
-
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()- Specified by:
getId
in interfaceObjectType
-
getType
- Specified by:
getType
in interfaceObjectType
-
findById
-
getEntityType
-