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.ServerPlayerEntity player,
Pokemon raidPokemon,
RaidData raid,
CaptureValues values) |
Modifier and Type | Method and Description |
---|---|
CaptureValues |
getCaptureValues()
Gets the current
CaptureValues for this capture attempt. |
RaidData |
getRaid()
Gets the
RaidData this capture attempt is being performed in. |
Pokemon |
getRaidPokemon()
Gets the
Pokemon being caught in the raid. |
getPlayer, getPokeBall, getPokemon, setPokemon
public StartRaidCapture(net.minecraft.entity.player.ServerPlayerEntity player, Pokemon raidPokemon, RaidData raid, CaptureValues values)
public CaptureValues getCaptureValues()
CaptureValues
for this capture attempt. Will contain the modified capture rate and
the ball bonus at this stage.CaptureValues
for this capture attempt.public Pokemon getRaidPokemon()
Pokemon
being caught in the raid.Pokemon
being caught in the raid.