Enum Class SignType

java.lang.Object
java.lang.Enum<SignType>
zombie.scripting.objects.SignType
All Implemented Interfaces:
Serializable, Comparable<SignType>, Constable

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

    • SIGN_SKULL

      public static final SignType SIGN_SKULL
    • SIGN_RIGHTARROW

      public static final SignType SIGN_RIGHTARROW
    • SIGN_LEFTARROW

      public static final SignType SIGN_LEFTARROW
    • SIGN_DOWNARROW

      public static final SignType SIGN_DOWNARROW
    • SIGN_UPARROW

      public static final SignType SIGN_UPARROW
  • Method Details

    • values

      public static SignType[] 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 SignType 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
    • getSpriteIndex

      public Integer getSpriteIndex()
    • getSpriteName

      public String getSpriteName()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SignType>
    • typeOf

      public static SignType typeOf(int index)