public class ImmutableCard
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CARD_CODE_NBT_KEY |
static java.lang.String |
CARD_ID_NBT_KEY
Deprecated.
|
static java.lang.String |
FACE_DOWN_CODE |
static int |
FACE_DOWN_ID
Deprecated.
|
static java.lang.String |
IS_HOLO_NBT_KEY |
Constructor and Description |
---|
ImmutableCard(java.lang.String json,
int id,
int setId,
CardType cardType,
boolean isSpecial,
int hp,
Energy energy1,
Energy energy2,
int pokemonId,
java.lang.String code,
java.lang.String name,
java.lang.String description,
int previousPokemonId,
CardPower cardAbility,
java.util.List<CardAttack> cardAttacks,
Energy energyResistance,
int resistanceValue,
CardModifier resistanceCardModifier,
Energy energyWeakness,
int weaknessValue,
CardModifier weaknessCardModifier,
int retreatCost,
CardRarity cardRarity,
net.minecraft.util.ResourceLocation customTexture,
int customTextureX,
int customTextureY,
BaseTrainerEffect effect) |
@Deprecated public static int FACE_DOWN_ID
public static java.lang.String FACE_DOWN_CODE
@Deprecated public static java.lang.String CARD_ID_NBT_KEY
public static java.lang.String CARD_CODE_NBT_KEY
public static java.lang.String IS_HOLO_NBT_KEY
public ImmutableCard(java.lang.String json, int id, int setId, CardType cardType, boolean isSpecial, int hp, Energy energy1, Energy energy2, int pokemonId, java.lang.String code, java.lang.String name, java.lang.String description, int previousPokemonId, CardPower cardAbility, java.util.List<CardAttack> cardAttacks, Energy energyResistance, int resistanceValue, CardModifier resistanceCardModifier, Energy energyWeakness, int weaknessValue, CardModifier weaknessCardModifier, int retreatCost, CardRarity cardRarity, net.minecraft.util.ResourceLocation customTexture, int customTextureX, int customTextureY, BaseTrainerEffect effect)
public static ImmutableCard faceDown()
public RegistryValue<ImmutableCard> getRegistryValue()
public java.lang.String getJson()
public boolean isHolo()
public void calculateTrainerEffect()
public int getID()
public boolean isFaceDown()
public int getSetID()
public java.lang.String getCode()
public int getHP()
public CardType getCardType()
public boolean isSpecial()
public BaseTrainerEffect getEffect()
public boolean isPokemonCard()
public boolean isEvolution()
public boolean isCosmetic()
public Energy getMainEnergy()
public Energy getSecondaryEnergy()
public int getPokemonID()
public java.lang.String getName()
public net.minecraft.util.text.ITextComponent getTranslatedName()
public java.lang.String getDescription()
public int getPreviousEvolutionDexID()
public CardPower getAbility()
public java.util.List<CardAttack> getAttacks()
public Energy getEnergyResistance()
public int getResistanceValue()
public CardModifier getResistanceModifier()
public Energy getEnergyWeakness()
public int getWeaknessValue()
public CardModifier getWeaknessModifier()
public int getRetreatCost()
public CardRarity getRarity()
public boolean getHasCustomTex()
public net.minecraft.util.ResourceLocation getCustomTexture()
public int getImageXFromCard()
public int getImageYFromCard()
public net.minecraft.item.ItemStack getItemStack(int count)
public void write(net.minecraft.nbt.CompoundNBT tag)