public class CardAttack
extends java.lang.Object
Constructor and Description |
---|
CardAttack(java.lang.String name,
java.util.List<Energy> costs,
int damage,
CardModifier modifier,
java.lang.String text,
java.util.List<BaseAttackEffect> effects) |
CardAttack(java.lang.String name,
java.util.List<Energy> costs,
int damage,
CardModifier modifier,
java.lang.String text,
java.lang.String effectsString) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Energy> |
getCosts() |
int |
getDamage() |
java.util.List<BaseAttackEffect> |
getEffects() |
java.lang.String |
getEffectsString() |
java.lang.String |
getID() |
CardModifier |
getModifier() |
java.lang.String |
getName() |
java.lang.String |
getText() |
net.minecraft.util.text.ITextComponent |
getTranslatedName() |
boolean |
hasEffects() |
void |
setID(java.lang.String code,
int index) |
CardAttack |
withEffect(BaseAttackEffect effect) |
public CardAttack(java.lang.String name, java.util.List<Energy> costs, int damage, CardModifier modifier, java.lang.String text, java.lang.String effectsString)
public CardAttack(java.lang.String name, java.util.List<Energy> costs, int damage, CardModifier modifier, java.lang.String text, java.util.List<BaseAttackEffect> effects)
public CardAttack withEffect(BaseAttackEffect effect)
public void setID(java.lang.String code, int index)
public java.lang.String getID()
public java.lang.String getName()
public net.minecraft.util.text.ITextComponent getTranslatedName()
public java.util.List<Energy> getCosts()
public int getDamage()
public CardModifier getModifier()
public java.lang.String getText()
public java.lang.String getEffectsString()
public java.util.List<BaseAttackEffect> getEffects()
public boolean hasEffects()