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.