Class CaptureEvent.SuccessfulCapture
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.CaptureEvent
com.pixelmonmod.pixelmon.api.events.CaptureEvent.SuccessfulCapture
- Enclosing class:
- CaptureEvent
Event fired when a regular (non-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
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.CaptureEvent
player, pokeBall, pokemon
-
Constructor Summary
ConstructorDescriptionSuccessfulCapture
(net.minecraft.server.level.ServerPlayer player, PixelmonEntity pokemon, PokeBallEntity pokeBall) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.CaptureEvent
getPlayer, getPokeBall, getPokemon, setPokemon
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
SuccessfulCapture
public SuccessfulCapture(net.minecraft.server.level.ServerPlayer player, PixelmonEntity pokemon, PokeBallEntity pokeBall)
-