Enum Class DrawType

java.lang.Object
java.lang.Enum<DrawType>
com.hypixel.hytale.protocol.DrawType
All Implemented Interfaces:
Serializable, Comparable<DrawType>, Constable

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

    • Empty

      public static final DrawType Empty
    • GizmoCube

      public static final DrawType GizmoCube
    • Cube

      public static final DrawType Cube
    • Model

      public static final DrawType Model
    • CubeWithModel

      public static final DrawType CubeWithModel
  • Field Details

    • VALUES

      public static final DrawType[] VALUES
    • value

      private final int value
  • Constructor Details

    • DrawType

      private DrawType(int value)
  • Method Details

    • values

      public static DrawType[] 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 DrawType 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
    • getValue

      public int getValue()
    • fromValue

      public static DrawType fromValue(int value)