Class ImmutableCard

java.lang.Object
com.pixelmonmod.tcg.api.card.ImmutableCard

public class ImmutableCard extends Object
  • Field Details

    • FACE_DOWN_ID

      @Deprecated public static int FACE_DOWN_ID
      Deprecated.
    • FACE_DOWN_CODE

      public static String FACE_DOWN_CODE
    • CARD_ID_NBT_KEY

      @Deprecated public static String CARD_ID_NBT_KEY
      Deprecated.
    • CARD_CODE_NBT_KEY

      public static String CARD_CODE_NBT_KEY
    • IS_HOLO_NBT_KEY

      public static String IS_HOLO_NBT_KEY
  • Constructor Details

  • Method Details

    • faceDown

      public static ImmutableCard faceDown()
    • getRegistryValue

      public RegistryValue<ImmutableCard> getRegistryValue()
    • getJson

      public String getJson()
    • isHolo

      public boolean isHolo()
    • getID

      public int getID()
    • isFaceDown

      public boolean isFaceDown()
    • getSetID

      public int getSetID()
    • getCode

      public String getCode()
    • getHP

      public int getHP()
    • getCardType

      public CardType getCardType()
    • isSpecial

      public boolean isSpecial()
    • getEffect

      public BaseTrainerEffect getEffect()
    • isPokemonCard

      public boolean isPokemonCard()
    • isEvolution

      public boolean isEvolution()
    • isCosmetic

      public boolean isCosmetic()
    • getMainEnergy

      public Energy getMainEnergy()
    • getSecondaryEnergy

      public Energy getSecondaryEnergy()
    • getPokemonID

      public int getPokemonID()
    • getName

      public String getName()
    • getTranslatedName

      public net.minecraft.network.chat.Component getTranslatedName()
    • getDescription

      public String getDescription()
    • getPreviousEvolutionDexID

      public int getPreviousEvolutionDexID()
    • getAbility

      public CardPower getAbility()
    • getAttacks

      public List<CardAttack> getAttacks()
    • getEnergyResistance

      public Energy getEnergyResistance()
    • getResistanceValue

      public int getResistanceValue()
    • getResistanceModifier

      public CardModifier getResistanceModifier()
    • getEnergyWeakness

      public Energy getEnergyWeakness()
    • getWeaknessValue

      public int getWeaknessValue()
    • getWeaknessModifier

      public CardModifier getWeaknessModifier()
    • getRetreatCost

      public int getRetreatCost()
    • getRarity

      public CardRarity getRarity()
    • getHasCustomTex

      public boolean getHasCustomTex()
    • getCustomTexture

      public net.minecraft.resources.ResourceLocation getCustomTexture()
    • getImageXFromCard

      public int getImageXFromCard()
    • getImageYFromCard

      public int getImageYFromCard()
    • getItemStack

      public net.minecraft.world.item.ItemStack getItemStack(int count)
    • write

      public void write(net.minecraft.nbt.CompoundTag tag)