getCatchBonus
public double getCatchBonus(PokeBall type,
PokeBallEntity entity,
net.minecraft.entity.player.PlayerEntity thrower,
Pokemon pokemon,
PokeBallMode mode)
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.
entity - 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.