public static class CaptureEvent.StartRaidCapture extends CaptureEvent
CaptureEvent.FailedCapture, CaptureEvent.FailedRaidCapture, CaptureEvent.StartCapture, CaptureEvent.StartRaidCapture, CaptureEvent.SuccessfulCapture, CaptureEvent.SuccessfulRaidCapture
player, pokeball, pokemon
Constructor and Description |
---|
StartRaidCapture(net.minecraft.entity.player.EntityPlayerMP player,
Pokemon raidPokemon,
RaidData raid,
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.
|
RaidData |
getRaid()
Gets the raid object
|
Pokemon |
getRaidPokemon()
Gets the Raid Pokémon object
|
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 void setCatchRate(int catchRate)
public int getCatchRate()
public void setBallBonus(double ballBonus)
public double getBallBonus()
public Pokemon getRaidPokemon()
public RaidData getRaid()