public class PokemonCardStatus
extends java.lang.Object
Constructor and Description |
---|
PokemonCardStatus() |
PokemonCardStatus(net.minecraft.network.PacketBuffer buf) |
Modifier and Type | Method and Description |
---|---|
void |
addCondition(CardCondition cardCondition,
java.lang.Integer modifier) |
void |
cloneConditions()
This retains the conditions before attacks, so that effect can be calculated
|
java.util.List<org.apache.commons.lang3.tuple.Pair<CardCondition,java.lang.Integer>> |
getClonedConditions() |
java.util.List<org.apache.commons.lang3.tuple.Pair<CardCondition,java.lang.Integer>> |
getConditions() |
int |
getDamage() |
boolean |
hasCondition(CardCondition cardCondition) |
void |
healDamage(int d) |
boolean |
isConditionImmune() |
boolean |
isDamageImmune() |
boolean |
isStartTurnParalyzed() |
void |
removeAllConditions() |
void |
removeCondition(CardCondition cardCondition) |
void |
setConditionImmune(boolean conditionImmune) |
void |
setDamage(int d) |
void |
setDamageImmune(boolean damageImmune) |
void |
setStartTurnParalyzed(boolean startTurnParalyzed) |
void |
write(net.minecraft.network.PacketBuffer buf) |
public PokemonCardStatus()
public PokemonCardStatus(net.minecraft.network.PacketBuffer buf)
public void write(net.minecraft.network.PacketBuffer buf)
public java.util.List<org.apache.commons.lang3.tuple.Pair<CardCondition,java.lang.Integer>> getConditions()
public void cloneConditions()
public java.util.List<org.apache.commons.lang3.tuple.Pair<CardCondition,java.lang.Integer>> getClonedConditions()
public int getDamage()
public void healDamage(int d)
public void setDamage(int d)
public boolean hasCondition(CardCondition cardCondition)
public void addCondition(CardCondition cardCondition, java.lang.Integer modifier)
public void removeCondition(CardCondition cardCondition)
public void removeAllConditions()
public boolean isStartTurnParalyzed()
public void setStartTurnParalyzed(boolean startTurnParalyzed)
public boolean isDamageImmune()
public void setDamageImmune(boolean damageImmune)
public boolean isConditionImmune()
public void setConditionImmune(boolean conditionImmune)