Package com.pixelmonmod.tcg.duel.state
Class PokemonCardStatus
java.lang.Object
com.pixelmonmod.tcg.duel.state.PokemonCardStatus
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCondition
(CardCondition cardCondition, Integer modifier) void
This retains the conditions before attacks, so that effect can be calculatedList<org.apache.commons.lang3.tuple.Pair<CardCondition,
Integer>> List<org.apache.commons.lang3.tuple.Pair<CardCondition,
Integer>> int
boolean
hasCondition
(CardCondition cardCondition) void
healDamage
(int d) boolean
boolean
boolean
void
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.FriendlyByteBuf buf)
-
Constructor Details
-
PokemonCardStatus
public PokemonCardStatus() -
PokemonCardStatus
public PokemonCardStatus(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
write
public void write(net.minecraft.network.FriendlyByteBuf buf) -
getConditions
-
cloneConditions
public void cloneConditions()This retains the conditions before attacks, so that effect can be calculated -
getClonedConditions
-
getDamage
public int getDamage() -
healDamage
public void healDamage(int d) -
setDamage
public void setDamage(int d) -
hasCondition
-
addCondition
-
removeCondition
-
removeAllConditions
public void removeAllConditions() -
isStartTurnParalyzed
public boolean isStartTurnParalyzed() -
setStartTurnParalyzed
public void setStartTurnParalyzed(boolean startTurnParalyzed) -
isDamageImmune
public boolean isDamageImmune() -
setDamageImmune
public void setDamageImmune(boolean damageImmune) -
isConditionImmune
public boolean isConditionImmune() -
setConditionImmune
public void setConditionImmune(boolean conditionImmune)
-