Enum Class EntityDataTypes1_7_6_10
java.lang.Object
java.lang.Enum<EntityDataTypes1_7_6_10>
com.viaversion.viarewind.api.minecraft.entitydata.EntityDataTypes1_7_6_10
- All Implemented Interfaces:
com.viaversion.viaversion.api.minecraft.entitydata.EntityDataType,Serializable,Comparable<EntityDataTypes1_7_6_10>,Constable
public enum EntityDataTypes1_7_6_10
extends Enum<EntityDataTypes1_7_6_10>
implements com.viaversion.viaversion.api.minecraft.entitydata.EntityDataType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface com.viaversion.viaversion.api.minecraft.entitydata.EntityDataType
com.viaversion.viaversion.api.minecraft.entitydata.EntityDataType.EntityDataTypeImpl -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityDataTypes1_7_6_10byId(int id) com.viaversion.viaversion.api.type.Type<?>type()inttypeId()static EntityDataTypes1_7_6_10Returns the enum constant of this class with the specified name.static EntityDataTypes1_7_6_10[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BYTE
-
SHORT
-
INT
-
FLOAT
-
STRING
-
ITEM
-
POSITION
-
-
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
-
byId
-
typeId
public int typeId()- Specified by:
typeIdin interfacecom.viaversion.viaversion.api.minecraft.entitydata.EntityDataType
-
type
public com.viaversion.viaversion.api.type.Type<?> type()- Specified by:
typein interfacecom.viaversion.viaversion.api.minecraft.entitydata.EntityDataType
-