public class CardRegistry
extends java.lang.Object
Constructor and Description |
---|
CardRegistry() |
Modifier and Type | Method and Description |
---|---|
static ImmutableCard |
fromCode(java.lang.String code) |
static ImmutableCard |
fromId(int id) |
static ImmutableCard |
fromNBT(net.minecraft.nbt.NBTTagCompound tag) |
static java.util.List<ImmutableCard> |
getAll() |
static ImmutableCard |
getEnergyCard(Energy e) |
static java.util.List<ImmutableCard> |
getEnergyCards() |
static ImmutableCard |
getRandomCard() |
static ImmutableCard |
getRandomCard(Energy energy) |
static ImmutableCard |
getRandomCard(int pokemonID,
CardRarity cardRarity,
boolean isHolo) |
static ImmutableCard |
getRandomCard(int pokemonID,
CardRarity cardRarity,
boolean isHolo,
Energy energy) |
static ImmutableCard |
getRandomCardAdvanced(int setID,
float weight,
CardRarity cardRarity,
boolean isHolo) |
static void |
load() |
public static java.util.List<ImmutableCard> getAll()
public static ImmutableCard getRandomCard(Energy energy)
public static ImmutableCard getRandomCardAdvanced(int setID, float weight, CardRarity cardRarity, boolean isHolo)
public static ImmutableCard getRandomCard(int pokemonID, CardRarity cardRarity, boolean isHolo)
public static ImmutableCard getRandomCard(int pokemonID, CardRarity cardRarity, boolean isHolo, Energy energy)
public static ImmutableCard getRandomCard()
public static java.util.List<ImmutableCard> getEnergyCards()
public static ImmutableCard getEnergyCard(Energy e)
public static ImmutableCard fromId(int id)
public static ImmutableCard fromCode(java.lang.String code)
public static ImmutableCard fromNBT(net.minecraft.nbt.NBTTagCompound tag)
public static void load()