public class CardSelectorState
extends java.lang.Object
Constructor and Description |
---|
CardSelectorState(int minimumCount,
int maximumCount,
boolean countEnergy,
CardSelectorDisplay displayType,
boolean cancellable) |
CardSelectorState(int minimumCount,
int maximumCount,
CardSelectorDisplay displayType,
boolean cancellable) |
CardSelectorState(int minimumCount,
int maximumCount,
CardSelectorDisplay displayType,
boolean cancellable,
java.lang.String customText) |
CardSelectorState(int id,
int minimumCount,
int maximumCount,
boolean countEnergy,
CardSelectorDisplay displayType,
boolean cancellable,
java.lang.String customText,
java.util.List<CardWithLocation> cardList) |
CardSelectorState(net.minecraft.network.PacketBuffer buf) |
Modifier and Type | Method and Description |
---|---|
void |
addCard(CardWithLocation card) |
java.util.List<CardWithLocation> |
getCardList() |
java.lang.String |
getCustomText() |
CardSelectorDisplay |
getDisplayType() |
int |
getId() |
int |
getMaximumCount() |
int |
getMinimumCount() |
boolean |
isCancellable() |
boolean |
isCountEnergy() |
void |
setCancellable(boolean cancellable) |
void |
setCardList(java.util.List<CardWithLocation> cardList) |
void |
setCustomText(java.lang.String customText) |
void |
setDisplayType(CardSelectorDisplay displayType) |
void |
setId(int id) |
void |
write(net.minecraft.network.PacketBuffer buf) |
public CardSelectorState(int minimumCount, int maximumCount, CardSelectorDisplay displayType, boolean cancellable)
public CardSelectorState(int minimumCount, int maximumCount, CardSelectorDisplay displayType, boolean cancellable, java.lang.String customText)
public CardSelectorState(int minimumCount, int maximumCount, boolean countEnergy, CardSelectorDisplay displayType, boolean cancellable)
public CardSelectorState(int id, int minimumCount, int maximumCount, boolean countEnergy, CardSelectorDisplay displayType, boolean cancellable, java.lang.String customText, java.util.List<CardWithLocation> cardList)
public CardSelectorState(net.minecraft.network.PacketBuffer buf)
public void write(net.minecraft.network.PacketBuffer buf)
public int getId()
public void setId(int id)
public java.util.List<CardWithLocation> getCardList()
public void setCardList(java.util.List<CardWithLocation> cardList)
public void addCard(CardWithLocation card)
public int getMinimumCount()
public int getMaximumCount()
public boolean isCountEnergy()
public CardSelectorDisplay getDisplayType()
public void setDisplayType(CardSelectorDisplay displayType)
public boolean isCancellable()
public void setCancellable(boolean cancellable)
public java.lang.String getCustomText()
public void setCustomText(java.lang.String customText)