Enum Class EntityDataTypesb1_4

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

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

  • Method Details

    • values

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