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

public class Symbiosis extends AbstractAbility
Causes the user to give its held item to an ally after the ally consumes one.
  • Constructor Details

    • Symbiosis

      public Symbiosis()
  • Method Details

    • onItemConsumed

      public void onItemConsumed(PixelmonWrapper pokemon, PixelmonWrapper consumer, HeldItem heldItem)
      Description copied from interface: Ability
      Triggers when a held item is consumed.
      Parameters:
      pokemon - The Pokémon with the Ability.
      consumer - The Pokémon who consumed the held item.
      heldItem - The consumed held item.