Class CaptureEvent.StartRaidCapture
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.CaptureEvent
com.pixelmonmod.pixelmon.api.events.CaptureEvent.StartCapture
com.pixelmonmod.pixelmon.api.events.CaptureEvent.StartRaidCapture
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
CaptureEvent
public static class CaptureEvent.StartRaidCapture
extends CaptureEvent.StartCapture
implements net.neoforged.bus.api.ICancellableEvent
Event fired when a raid capture attempt is about to start.
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
ConstructorsConstructorDescriptionStartRaidCapture
(net.minecraft.server.level.ServerPlayer player, Pokemon raidPokemon, PokeBall pokeBall, RaidData raid, CaptureValues values) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.CaptureEvent.StartCapture
getCaptureValues
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
-
Constructor Details
-
StartRaidCapture
public StartRaidCapture(net.minecraft.server.level.ServerPlayer player, Pokemon raidPokemon, PokeBall pokeBall, RaidData raid, CaptureValues values)
-
-
Method Details