Class MindsEye
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
com.pixelmonmod.pixelmon.api.pokemon.ability.abilities.MindsEye
- All Implemented Interfaces:
Ability
,RarityTweak
,ITranslatable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
allowsStatChange
(PixelmonWrapper pokemon, PixelmonWrapper user, StatsEffect e) Whether the Pokémon Ability allows a stat to be modified.boolean
Returns whether the ability can be bypassed by moves that ignore abilities or not.boolean
Determines whether the Ability ignores the opponent's evasion.modifyEffectiveTypes
(PixelmonWrapper user, PixelmonWrapper target, List<Element> 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.api.pokemon.ability.AbstractAbility
equals, getName, getNewInstance, getTranslationKey, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.pixelmonmod.pixelmon.api.pokemon.ability.Ability
adjustCriticalHitChance, adjustCritStage, allowsAttack, allowsIncomingAttack, allowsIncomingAttackMessage, allowsIncomingAttackTeammate, allowsOutgoingAttack, allowsStatChangeTeammate, allowsStatus, allowsStatusOpponent, allowsStatusTeammate, alwaysConsideredDamaged, applyAllySwitchInEffect, applyCritMultiplier, applyDynamaxEffect, applyEffectOnContactTarget, applyEffectOnContactTargetLate, applyEffectOnContactUser, applyEffectOnStatModified, applyEndOfBattleEffect, applyFoeSwitchInEffect, applyPostSwitchEffect, applyRepeatedEffect, applyRepeatedEffectAfterStatus, applyStartOfBattleEffect, applyStartOfBattleHeadOfPartyEffect, applyStartOfTurnEffect, applySwitchInEffect, applySwitchOutEffect, applySwitchReplaceEffect, beforeSwitch, canAttackThisTurn, canBeCopied, canBeDisabled, canBeEntrained, canBeReceived, canBeRoleplayed, canBeSwapped, canBeTraced, canPerish, doesAttackUserIgnoreProtect, doesContactAttackMakeContact, getMultiplier, ignoresStatusTypeImmunity, ignoreWeather, isAbility, isAbility, isAbility, isAbility, isAbility, isNegativeAbility, modifyConfusionDamage, modifyDamage, modifyDamageIncludeFixed, modifyDamageTarget, modifyDamageTeammate, modifyDamageUser, modifyMoveEffectChanceTarget, modifyMoveEffectChanceUser, modifyMoveEffects, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyTeammate, modifyPowerAndAccuracyUser, modifyPriority, modifySelfDamage, modifyStab, modifyStats, modifyStatsCancellable, modifyStatsCancellableOther, modifyStatsCancellableTeammate, modifyStatsOther, modifyStatsTeammate, modifyType, modifyWeight, needNewInstance, onAbilityLost, onAllyFaint, onBerryEaten, onDamageReceived, onFoeFaint, onHealed, onItemChanged, onItemConsumed, onSelfFaint, onStatDecrease, onStatIncrease, onStatusAdded, onTerrainSwitch, onWeatherChange, postProcessAttack, postProcessAttackOther, postProcessAttackUser, postProcessAttackUserHitOrMiss, preProcessAttack, preProcessAttackStatBeforeDamageCalc, preProcessAttackUser, preventsCriticalHits, preventsItemRemoval, preventsRedirection, redirectAttack, sendActivatedMessage, startMove, stopsForcedSwitches, stopsSwitching, tookDamageTarget, tookDamageTargetAfterMove, tookDamageUser, worksWithTransformedPokemon
Methods inherited from interface com.pixelmonmod.pixelmon.api.util.ITranslatable
getLocalizedName, getTranslatedName
-
Constructor Details
-
MindsEye
public MindsEye()
-
-
Method Details
-
modifyEffectiveTypes
public List<Element> modifyEffectiveTypes(PixelmonWrapper user, PixelmonWrapper target, List<Element> types) Description copied from interface:Ability
Returns the types that will be used in calculating the Pokémon's attack's type effectiveness.- Parameters:
user
- The attack's user.target
- The attack's target.types
- The current effective types of the target.- Returns:
- The target's modified types.
-
allowsStatChange
Description copied from interface:Ability
Whether the Pokémon Ability allows a stat to be modified.- Parameters:
pokemon
- The Pokémon with the Ability.user
- The attack's user.e
- The stat modifier.- Returns:
- Whether the stat modifier can occur.
-
ignoreEvasion
public boolean ignoreEvasion()Description copied from interface:Ability
Determines whether the Ability ignores the opponent's evasion.- Returns:
- Whether the Ability ignores evasion.
-
canBeIgnored
public boolean canBeIgnored()Description copied from interface:Ability
Returns whether the ability can be bypassed by moves that ignore abilities or not. e.g. Moldbreaker or G-Max Drum Solo- Returns:
- Whether the ability can be ignored.
-