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

public enum EntityDataIndex1_5_2 extends Enum<EntityDataIndex1_5_2>
  • Enum Constant Details

  • Method Details

    • values

      public static EntityDataIndex1_5_2[] 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 EntityDataIndex1_5_2 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
    • getEntityType

      public com.viaversion.viaversion.api.minecraft.entities.EntityTypes1_8.EntityType getEntityType()
    • getOldIndex

      public int getOldIndex()
    • getNewIndex

      public int getNewIndex()
    • getOldType

      public EntityDataTypes1_6_4 getOldType()
    • getNewType

      public EntityDataTypes1_6_4 getNewType()
    • searchIndex

      public static EntityDataIndex1_5_2 searchIndex(com.viaversion.viaversion.api.minecraft.entities.EntityTypes1_8.EntityType type, int index)