java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.item.pokeball.logic.LureBall
All Implemented Interfaces:
BallLogic

public class LureBall extends Object implements BallLogic
  • Constructor Details

    • LureBall

      public LureBall()
  • Method Details

    • getCatchBonus

      public double getCatchBonus(PokeBall type, PokeBallEntity ball, net.minecraft.world.entity.player.Player thrower, Pokemon pokemon, PokeBallMode mode)
      Description copied from interface: BallLogic
      Get the ball bonus of this ball logic. This may be different depending on whether the capture attempt is in a battle or not.
      Specified by:
      getCatchBonus in interface BallLogic
      Parameters:
      type - The PokeBall being used.
      ball - The PokeBallEntity being thrown, if one is present.
      thrower - The player throwing the ball.
      pokemon - The Pokemon being caught.
      mode - The mode this capture attempt is in.
      Returns:
      The ball bonus of the Poké Ball given the provided parameters.