Class CaptureEvent.StartRaidCapture

java.lang.Object
net.neoforged.bus.api.Event
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.
  • Constructor Details

  • Method Details

    • getRaidPokemon

      public Pokemon getRaidPokemon()
      Gets the Pokemon being caught in the raid.
      Returns:
      The Pokemon being caught in the raid.
    • getRaid

      public RaidData getRaid()
      Gets the RaidData this capture attempt is being performed in.
      Returns:
      The RaidData this capture attempt is being performed in.