Enum Class PixelExtrasData.SphealType

java.lang.Object
java.lang.Enum<PixelExtrasData.SphealType>
com.pixelmonmod.pixelmon.storage.extras.PixelExtrasData.SphealType
All Implemented Interfaces:
Serializable, Comparable<PixelExtrasData.SphealType>, Constable
Enclosing class:
PixelExtrasData

public static enum PixelExtrasData.SphealType extends Enum<PixelExtrasData.SphealType>
  • Enum Constant Details

  • Field Details

    • shiny

      public final boolean shiny
    • stitched

      public final boolean stitched
  • Method Details

    • values

      public static PixelExtrasData.SphealType[] 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 PixelExtrasData.SphealType 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
    • from

      public static PixelExtrasData.SphealType from(boolean shiny, boolean stitched)