Class PartyFaintRespawnEvent.Pre

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.PartyFaintRespawnEvent
com.pixelmonmod.pixelmon.api.events.PartyFaintRespawnEvent.Pre
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
PartyFaintRespawnEvent

public static class PartyFaintRespawnEvent.Pre extends PartyFaintRespawnEvent implements net.neoforged.bus.api.ICancellableEvent
Cancel this event to stop the player being sent to the fainted screen and thus being respawned at their last spawn point.
  • Constructor Details

    • Pre

      public Pre(net.minecraft.server.level.ServerPlayer player)
  • Method Details