Enum Class Energy

java.lang.Object
java.lang.Enum<Energy>
com.pixelmonmod.tcg.api.card.Energy
All Implemented Interfaces:
Serializable, Comparable<Energy>, Constable

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

    • GRASS

      public static final Energy GRASS
    • FIRE

      public static final Energy FIRE
    • WATER

      public static final Energy WATER
    • LIGHTNING

      public static final Energy LIGHTNING
    • FIGHTING

      public static final Energy FIGHTING
    • PSYCHIC

      public static final Energy PSYCHIC
    • COLORLESS

      public static final Energy COLORLESS
    • DARKNESS

      public static final Energy DARKNESS
    • METAL

      public static final Energy METAL
    • DRAGON

      public static final Energy DRAGON
    • FAIRY

      public static final Energy FAIRY
    • RAINBOW

      public static final Energy RAINBOW
  • Method Details

    • values

      public static Energy[] 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 Energy 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
    • getEnergyFromString

      public static Energy getEnergyFromString(String name)
    • getEnergyFromType

      public static Energy getEnergyFromType(Element type)
    • getTexture

      public net.minecraft.resources.ResourceLocation getTexture()
    • getHighResTexture

      public net.minecraft.resources.ResourceLocation getHighResTexture()
    • getHighResAlt

      public net.minecraft.resources.ResourceLocation getHighResAlt()
    • getUnlocalizedName

      public String getUnlocalizedName()