Class DisableCardEffect
java.lang.Object
com.pixelmonmod.tcg.duel.attack.AttackEffect
com.pixelmonmod.tcg.duel.attack.effects.AttackEffectWithOptionalFlip
com.pixelmonmod.tcg.duel.attack.effects.DisableCardEffect
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<DisableCardEffect> protected final booleanprotected final net.minecraft.tags.TagKey<ImmutableCard> Fields inherited from class com.pixelmonmod.tcg.duel.attack.effects.AttackEffectWithOptionalFlip
requiredCoinSide -
Constructor Summary
ConstructorsConstructorDescriptionDisableCardEffect(boolean self, net.minecraft.tags.TagKey<ImmutableCard> type) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyOnCorrectCoinSideBeforeDamage(List<Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server) type()Methods inherited from class com.pixelmonmod.tcg.duel.attack.effects.AttackEffectWithOptionalFlip
applyAfterDamage, applyBeforeDamage, applyOnCorrectCoinSideAfterDamage, flipCoin, isCorrectCoinSideMethods inherited from class com.pixelmonmod.tcg.duel.attack.AttackEffect
applyDelayAfterDamage, canApply, chooseOppAttack, codec, getCustomGUI, getOpponentSelectorState, getSelectorState, isOptional, modifyDamage, modifyTurn
-
Field Details
-
CODEC
-
self
protected final boolean self -
type
-
-
Constructor Details
-
DisableCardEffect
-
-
Method Details
-
type
- Specified by:
typein classAttackEffect
-
applyOnCorrectCoinSideBeforeDamage
public void applyOnCorrectCoinSideBeforeDamage(List<Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server) - Overrides:
applyOnCorrectCoinSideBeforeDamagein classAttackEffectWithOptionalFlip
-