Class InMouth
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.status.StatusBase
com.pixelmonmod.pixelmon.battles.status.InMouth
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
battleTurnGained, turnGained, typeFields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the statused Pokémon can attack.booleanbooleanDetermines whether the user skips their turn due to this status.booleanDetermines whether the status prevents another Pokémon from switching them.booleanstopsIncomingAttack(PixelmonWrapper pw, PixelmonWrapper attacker) Determines whether the status stops an attack about to hit the statused Pokémon.voidstopsIncomingAttackMessage(PixelmonWrapper pokemon, PixelmonWrapper user) Displays a battle message when the status stops an attack.booleanDetermines whether the status stops switching.Methods inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
adjustCritStage, allowsStatChange, applyBeforeEffect, applyEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applyRepeatedEffect, applySwitchOutEffect, cantMiss, copy, getCureMessage, getCureMessageItem, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyEffectiveTypes, modifyMoveEffectChanceTarget, modifyMoveEffectChanceUser, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onDynamaxTriggered, onEndOfAttackersTurn, onEndOfTurn, onFormChanged, redirectAttack, stopsEvolution, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChangeMethods inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, canHitMultipleTargets, changeChance, checkChance, dealtDamage, dealtDamagePerHit, doesPersist, getChance, getWeightWithChance, isChance, isUser, modifyDamage, modifyPriority, modifyTargets, modifyTypeEffectiveness, modifyTypeEffectiveness, preventsRedirection, setChance, weightEffect
-
Constructor Details
-
InMouth
-
-
Method Details
-
stopsSwitching
public boolean stopsSwitching()Description copied from class:StatusBaseDetermines whether the status stops switching.- Overrides:
stopsSwitchingin classStatusBase- Returns:
- Whether the status stops switching.
-
stopsForcedSwitches
Description copied from class:StatusBaseDetermines whether the status prevents another Pokémon from switching them.- Overrides:
stopsForcedSwitchesin classStatusBase- Parameters:
cause- The Pokémon triggering the switch.- Returns:
- Whether the status stops the forced switch.
-
canAttackThisTurn
Description copied from class:StatusBaseDetermines whether the statused Pokémon can attack.- Overrides:
canAttackThisTurnin classStatusBase- Parameters:
pw- The statused Pokémon.a- The attack to be used by the Pokémon.- Returns:
- Whether the Pokémon can attack.
-
stopsIncomingAttack
Description copied from class:StatusBaseDetermines whether the status stops an attack about to hit the statused Pokémon.- Overrides:
stopsIncomingAttackin classStatusBase- Parameters:
pw- The statused Pokémon.attacker- The attack's user.- Returns:
- Whether the attack is stopped.
-
skipsTurn
public boolean skipsTurn()Description copied from class:StatusBaseDetermines whether the user skips their turn due to this status. Skips all actions.- Overrides:
skipsTurnin classStatusBase- Returns:
- Whether the turn is skipped
-
stopsIncomingAttackMessage
Description copied from class:StatusBaseDisplays a battle message when the status stops an attack.- Overrides:
stopsIncomingAttackMessagein classStatusBase- Parameters:
pokemon- The statused Pokémon.user- The attack's user.
-
isPartnerDondozo
-