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

public class Unnerve extends AbstractAbility
Prevents opponents from eating Berries.
  • Constructor Details

    • Unnerve

      public Unnerve()
  • 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 old)
      Description copied from interface: Ability
      Triggers when the Pokémon switches out.
      Parameters:
      old - The Pokémon switching out.