public static class CaptureEvent.StartCapture extends CaptureEvent
CaptureEvent.FailedCapture, CaptureEvent.FailedRaidCapture, CaptureEvent.StartCapture, CaptureEvent.StartRaidCapture, CaptureEvent.SuccessfulCapture, CaptureEvent.SuccessfulRaidCapture
player, pokeball, pokemon
Constructor and Description |
---|
StartCapture(net.minecraft.entity.player.EntityPlayerMP player,
EntityPixelmon pokemon,
EntityPokeBall pokeball,
int catchRate,
double ballBonus) |
Modifier and Type | Method and Description |
---|---|
double |
getBallBonus()
Gets the ball bonus given by the ball.
|
int |
getCatchRate()
Gets the catch rate for the Pokémon.
|
void |
setBallBonus(double ballBonus)
Sets the bonus multiplier given by the ball.
|
void |
setCatchRate(int catchRate)
Sets the catch rate for the Pokémon.
|
getPokemon, setPokemon
public StartCapture(net.minecraft.entity.player.EntityPlayerMP player, EntityPixelmon pokemon, EntityPokeBall pokeball, int catchRate, double ballBonus)
public void setCatchRate(int catchRate)
public int getCatchRate()
public void setBallBonus(double ballBonus)
public double getBallBonus()