public interface CaptureLogic
Modifier and Type | Method and Description |
---|---|
default void |
doAfterEffect(PokeBall type,
PokeBallEntity entity,
PixelmonEntity p) |
default void |
doFailEffect(PokeBall type,
PokeBallEntity entity,
PixelmonEntity pixelmon)
Handles the logic when the ball fails to capture the given Pokemon entity
|
default double |
getCatchBonus(PokeBall type,
PokeBallEntity entity,
net.minecraft.entity.player.PlayerEntity thrower,
Pokemon pokemon,
EnumPokeBallMode mode) |
default int |
modifyCaptureRate(PokeBall type,
PokeBallEntity entity,
Pokemon pokemon,
int captureRate) |
default double getCatchBonus(PokeBall type, @Nullable PokeBallEntity entity, net.minecraft.entity.player.PlayerEntity thrower, Pokemon pokemon, EnumPokeBallMode mode)
default void doAfterEffect(PokeBall type, @Nullable PokeBallEntity entity, PixelmonEntity p)
default int modifyCaptureRate(PokeBall type, @Nullable PokeBallEntity entity, Pokemon pokemon, int captureRate)
default void doFailEffect(PokeBall type, @Nullable PokeBallEntity entity, PixelmonEntity pixelmon)
type
- The type of ball thrownentity
- The pokeball entitypixelmon
- The pixelmon entity