Class CaptureEvent.SuccessfulRaidCapture
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.CaptureEvent
com.pixelmonmod.pixelmon.api.events.CaptureEvent.SuccessfulCapture
com.pixelmonmod.pixelmon.api.events.CaptureEvent.SuccessfulRaidCapture
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
CaptureEvent
public static class CaptureEvent.SuccessfulRaidCapture
extends CaptureEvent.SuccessfulCapture
implements net.neoforged.bus.api.ICancellableEvent
Event fired when a raid capture attempt is about to succeed, after passing all the required checks.
Cancelable.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.CaptureEvent
CaptureEvent.FailedCapture, CaptureEvent.FailedRaidCapture, CaptureEvent.StartCapture, CaptureEvent.StartRaidCapture, CaptureEvent.SuccessfulCapture, CaptureEvent.SuccessfulRaidCapture
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.CaptureEvent
player, pokeBall, pokeBallEntity, pokemon
-
Constructor Summary
ConstructorsConstructorDescriptionSuccessfulRaidCapture
(net.minecraft.server.level.ServerPlayer player, Pokemon raidPokemon, PokeBall pokeBall, RaidData raid) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.CaptureEvent
getPlayer, getPokeBall, getPokeBallEntity, getPokemon, setPokemon
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled