Class PartyFaintRespawnEvent.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PartyFaintRespawnEvent
com.pixelmonmod.pixelmon.api.events.PartyFaintRespawnEvent.Pre
- Enclosing class:
- PartyFaintRespawnEvent
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
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.PartyFaintRespawnEvent
player
-
Constructor Summary
-
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.PartyFaintRespawnEvent
getParty, getPlayer
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Pre
public Pre(net.minecraft.server.level.ServerPlayer player)
-
-
Method Details
-
post
-