Class CaptureEvent.StartCapture

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.CaptureEvent
com.pixelmonmod.pixelmon.api.events.CaptureEvent.StartCapture
Enclosing class:
CaptureEvent

public static class CaptureEvent.StartCapture extends CaptureEvent
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.