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

public class SuctionCups extends AbstractAbility
  • Constructor Details

    • SuctionCups

      public SuctionCups()
  • Method Details

    • stopsForcedSwitches

      public boolean stopsForcedSwitches(PixelmonWrapper user, PixelmonWrapper cause)
      Description copied from interface: Ability
      Determines whether the Pokémon's Ability prevents another Pokémon from switching them.
      Parameters:
      user - The Pokémon with the Ability.
      cause - The Pokémon triggering the switch.
      Returns:
      Whether the user stays in.