java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
com.pixelmonmod.pixelmon.api.pokemon.ability.abilities.PrimordialSea
All Implemented Interfaces:
Ability, RarityTweak, ITranslatable

public class PrimordialSea extends AbstractAbility
  • Constructor Details

    • PrimordialSea

      public PrimordialSea()
  • Method Details

    • applySwitchInEffect

      public void applySwitchInEffect(PixelmonWrapper newPokemon)
      Description copied from interface: Ability
      Triggers after the Pokémon switches in and when the Pokémon gains an Ability.
      Parameters:
      newPokemon - The Pokémon switching in.
    • applySwitchOutEffect

      public void applySwitchOutEffect(PixelmonWrapper oldPokemon)
      Description copied from interface: Ability
      Triggers when the Pokémon switches out.
      Parameters:
      oldPokemon - The Pokémon switching out.
    • onAbilityLost

      public void onAbilityLost(PixelmonWrapper pokemon)
      Description copied from interface: Ability
      Triggers just before the Pokémon loses an Ability in battle.
      Parameters:
      pokemon - The Pokémon with the Ability.
    • onDamageReceived

      public void onDamageReceived(PixelmonWrapper user, PixelmonWrapper pokemon, Attack a, int damage, DamageTypeEnum damagetype)
    • canBeIgnored

      public boolean canBeIgnored()
      Description copied from interface: Ability
      Returns whether the ability can be bypassed by moves that ignore abilities or not.
      Returns:
      Whether the ability can be ignored.