Class MysteriousAirCurrent
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.status.StatusBase
com.pixelmonmod.pixelmon.battles.status.GlobalStatusBase
com.pixelmonmod.pixelmon.battles.status.Weather
com.pixelmonmod.pixelmon.battles.status.MysteriousAirCurrent
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.status.Weather
extreme, isOverworldWeather, langContinue, langEnd, langStart, turnsToGo, weatherRockFields 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 TypeMethodDescriptionprotected voidTriggers at the end of every turn.voidTriggers at the end of every turn.protected intcountBenefits(PixelmonWrapper user, PixelmonWrapper target) Counts the number of ways that the target Pokémon benefits from the weather.protected WeathergetNewInstance(int turns) Gets a new instance of the subclass.modifyEffectiveTypes(PixelmonWrapper user, PixelmonWrapper target, List<net.minecraft.core.Holder<Type>> types) Returns the types that will be used in calculating the Pokémon's attack's type effectiveness.Methods inherited from class com.pixelmonmod.pixelmon.battles.status.Weather
applyEffect, getIsOverworldWeather, getLangContinue, getRemainingTurns, setRemainingTurns, setStartTurns, toString, weightEffectMethods inherited from class com.pixelmonmod.pixelmon.battles.status.GlobalStatusBase
applyEffectAfterStatus, ignoreWeather, isTerrain, isWeatherMethods inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
adjustCritStage, allowsStatChange, applyBeforeEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applyRepeatedEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, copy, getCureMessage, getCureMessageItem, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyMoveEffectChanceTarget, modifyMoveEffectChanceUser, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onDynamaxTriggered, onEndOfAttackersTurn, onEndOfTurn, onFormChanged, redirectAttack, skipsTurn, stopsEvolution, stopsForcedSwitches, stopsIncomingAttack, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitchingMethods 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, preventsRedirection, setChance
-
Constructor Details
-
MysteriousAirCurrent
public MysteriousAirCurrent()
-
-
Method Details
-
getNewInstance
Description copied from class:WeatherGets a new instance of the subclass.- Specified by:
getNewInstancein classWeather- Parameters:
turns- The number of turns that the weather will last for.- Returns:
- A new instance of the subclass.
-
countBenefits
Description copied from class:WeatherCounts the number of ways that the target Pokémon benefits from the weather.- Specified by:
countBenefitsin classWeather- Parameters:
user- The Pokémon using the weather move.target- The Pokémon to count benefits for.- Returns:
- The number of ways that the target Pokémon benefits from the weather.
-
modifyEffectiveTypes
public List<net.minecraft.core.Holder<Type>> modifyEffectiveTypes(PixelmonWrapper user, PixelmonWrapper target, List<net.minecraft.core.Holder<Type>> types) Description copied from class:StatusBaseReturns the types that will be used in calculating the Pokémon's attack's type effectiveness.- Overrides:
modifyEffectiveTypesin classStatusBase- Parameters:
user- The attack's user.target- The attack's target.- Returns:
- The target's modified types.
-
applyRepeatedEffect
Description copied from class:GlobalStatusBaseTriggers at the end of every turn.- Overrides:
applyRepeatedEffectin classWeather- Parameters:
global- The battle's global status controller.
-
applyRepeatedEffect
Description copied from class:WeatherTriggers at the end of every turn.- Overrides:
applyRepeatedEffectin classWeather- Parameters:
bc- The battle that the weather is in.
-