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
(PlayerController pc, ClientPlayerEntity oldPlayer, ClientPlayerEntity newPlayer, NetworkManager networkManager) -
Method Summary
Modifier and TypeMethodDescriptionMethods 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(PlayerController pc, ClientPlayerEntity oldPlayer, ClientPlayerEntity newPlayer, NetworkManager networkManager)
-
-
Method Details
-
getOldPlayer
-
getNewPlayer
-