Class CaptureEvent.StartCapture

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.CaptureEvent
com.pixelmonmod.pixelmon.api.events.CaptureEvent.StartCapture
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Direct Known Subclasses:
CaptureEvent.StartRaidCapture
Enclosing class:
CaptureEvent

public static class CaptureEvent.StartCapture extends CaptureEvent implements net.neoforged.bus.api.ICancellableEvent
Event fired when a regular (non-raid) capture attempt is about to start. Cancelable.
  • Constructor Details

  • Method Details

    • getCaptureValues

      public CaptureValues getCaptureValues()
      Gets the current CaptureValues for this capture attempt. Will contain the modified capture rate and the ball bonus at this stage.
      Returns:
      The current CaptureValues for this capture attempt.