Package net.minecraftforge.client.event
Class ClientPlayerNetworkEvent.RespawnEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ClientPlayerNetworkEvent
net.minecraftforge.client.event.ClientPlayerNetworkEvent.RespawnEvent
- Enclosing class:
- ClientPlayerNetworkEvent
Fired when the player object respawns, such as dimension changes.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.ClientPlayerNetworkEvent
ClientPlayerNetworkEvent.LoggedInEvent, ClientPlayerNetworkEvent.LoggedOutEvent, ClientPlayerNetworkEvent.RespawnEvent
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
-
Constructor Summary
ConstructorDescriptionRespawnEvent(MultiPlayerGameMode pc, LocalPlayer oldPlayer, LocalPlayer newPlayer, Connection networkManager)
-
Method Summary
Methods inherited from class net.minecraftforge.client.event.ClientPlayerNetworkEvent
getController, getNetworkManager, getPlayer
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
oldPlayer
-
-
Constructor Details
-
RespawnEvent
public RespawnEvent(MultiPlayerGameMode pc, LocalPlayer oldPlayer, LocalPlayer newPlayer, Connection networkManager)
-
-
Method Details
-
getOldPlayer
-
getNewPlayer
-