Class CaptureEvent.FailedRaidCapture

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

public static class CaptureEvent.FailedRaidCapture extends CaptureEvent
Event fired when a raid capture attempt fails to succeed.
  • Constructor Details

    • FailedRaidCapture

      public FailedRaidCapture(net.minecraft.server.level.ServerPlayer player, Pokemon raidPokemon, RaidData raid)
  • 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.