Enum Class CardType

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

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

    • BASIC

      public static final CardType BASIC
    • STAGE1

      public static final CardType STAGE1
    • STAGE2

      public static final CardType STAGE2
    • MEGA

      public static final CardType MEGA
    • EX

      public static final CardType EX
    • LVLX

      public static final CardType LVLX
    • BREAK

      public static final CardType BREAK
    • LEGEND

      public static final CardType LEGEND
    • GX

      public static final CardType GX
    • TRAINER

      public static final CardType TRAINER
    • STADIUM

      public static final CardType STADIUM
    • ITEM

      public static final CardType ITEM
    • SUPPORTER

      public static final CardType SUPPORTER
    • ENERGY

      public static final CardType ENERGY
    • TOOL

      public static final CardType TOOL
    • TM

      public static final CardType TM
    • ASPEC

      public static final CardType ASPEC
    • COSMETIC

      public static final CardType COSMETIC
  • Method Details

    • values

      public static CardType[] 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 CardType 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
    • isPokemon

      public boolean isPokemon()
    • isCosmetic

      public boolean isCosmetic()
    • getCardTypeFromString

      public static CardType getCardTypeFromString(String name)
    • getIcon

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

      public String getUnlocalizedName()
    • getLocalizedName

      public String getLocalizedName()