Enum Class EntityDataIndex1_5_2
java.lang.Object
java.lang.Enum<EntityDataIndex1_5_2>
net.raphimc.vialegacy.protocol.release.r1_5_2tor1_6_1.data.EntityDataIndex1_5_2
- All Implemented Interfaces:
Serializable,Comparable<EntityDataIndex1_5_2>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptioncom.viaversion.viaversion.api.minecraft.entities.EntityTypes1_8.EntityTypeintintstatic EntityDataIndex1_5_2searchIndex(com.viaversion.viaversion.api.minecraft.entities.EntityTypes1_8.EntityType type, int index) static EntityDataIndex1_5_2Returns the enum constant of this class with the specified name.static EntityDataIndex1_5_2[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENTITY_LIVING_POTION_EFFECT_COLOR
-
ENTITY_LIVING_IS_POTION_EFFECT_AMBIENT
-
ENTITY_LIVING_ARROWS
-
ENTITY_LIVING_NAME_TAG
-
ENTITY_LIVING_NAME_TAG_VISIBILITY
-
HUMAN_ABSORPTION_HEARTS
-
BOAT_DAMAGE_TAKEN
-
MINECART_DAMAGE_TAKEN
-
WITHER_HEALTH
-
ENDER_DRAGON_HEALTH
-
WOLF_HEALTH
-
-
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
-
getEntityType
public com.viaversion.viaversion.api.minecraft.entities.EntityTypes1_8.EntityType getEntityType() -
getOldIndex
public int getOldIndex() -
getNewIndex
public int getNewIndex() -
getOldType
-
getNewType
-
searchIndex
public static EntityDataIndex1_5_2 searchIndex(com.viaversion.viaversion.api.minecraft.entities.EntityTypes1_8.EntityType type, int index)
-