Enum Class EntityDataTypes1_3_1

java.lang.Object
java.lang.Enum<EntityDataTypes1_3_1>
net.raphimc.vialegacy.protocol.release.r1_3_1_2tor1_4_2.types.EntityDataTypes1_3_1
All Implemented Interfaces:
com.viaversion.viaversion.api.minecraft.entitydata.EntityDataType, Serializable, Comparable<EntityDataTypes1_3_1>, Constable

public enum EntityDataTypes1_3_1 extends Enum<EntityDataTypes1_3_1> implements com.viaversion.viaversion.api.minecraft.entitydata.EntityDataType
  • Enum Constant Details

  • Method Details

    • values

      public static EntityDataTypes1_3_1[] 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

      public static EntityDataTypes1_3_1 valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • byId

      public static EntityDataTypes1_3_1 byId(int id)
    • typeId

      public int typeId()
      Specified by:
      typeId in interface com.viaversion.viaversion.api.minecraft.entitydata.EntityDataType
    • type

      public com.viaversion.viaversion.api.type.Type<?> type()
      Specified by:
      type in interface com.viaversion.viaversion.api.minecraft.entitydata.EntityDataType