Constructor and Description |
---|
BeastBall() |
Modifier and Type | Method and Description |
---|---|
void |
doAfterEffect(PokeBall type,
PokeBallEntity entity,
PixelmonEntity pixelmon)
|
double |
getCatchBonus(PokeBall type,
PokeBallEntity entity,
net.minecraft.entity.player.PlayerEntity thrower,
Pokemon pokemon,
PokeBallMode mode)
Get the ball bonus of this ball logic.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doFailEffect, modifyCaptureRate
public double getCatchBonus(PokeBall type, PokeBallEntity entity, net.minecraft.entity.player.PlayerEntity thrower, Pokemon pokemon, PokeBallMode mode)
BallLogic
getCatchBonus
in interface BallLogic
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.public void doAfterEffect(PokeBall type, @Nullable PokeBallEntity entity, PixelmonEntity pixelmon)
BallLogic
doAfterEffect
in interface BallLogic
type
- The PokeBall
being used.entity
- The PokeBallEntity
being thrown, if one is present.pixelmon
- The PixelmonEntity
caught.