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.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.PartyFaintRespawnEvent
PartyFaintRespawnEvent.Post, PartyFaintRespawnEvent.Pre
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.PartyFaintRespawnEvent
player
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.PartyFaintRespawnEvent
getParty, getPlayer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Constructor Details
-
Pre
public Pre(net.minecraft.server.level.ServerPlayer player)
-
-
Method Details
-
post
-