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

public static class CaptureEvent.SuccessfulCapture extends CaptureEvent
Event fired when a regular (non-raid) capture attempt is about to succeed, after passing all the required checks. Cancelable.
  • Constructor Details

    • SuccessfulCapture

      public SuccessfulCapture(net.minecraft.server.level.ServerPlayer player, PixelmonEntity pokemon, PokeBallEntity pokeBall)