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

public class StickyHold extends AbstractAbility
  • Constructor Details

    • StickyHold

      public StickyHold()
  • Method Details

    • preventsItemRemoval

      public boolean preventsItemRemoval(PixelmonWrapper thief, PixelmonWrapper target)
      Description copied from interface: Ability
      Whether this ability prevents an item being stolen
      Parameters:
      thief - - The
      target - - The attack being used
      Returns:
      - Whether or not it will continue to make contact.
    • 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.