public class ClientPlayerNetworkEvent
extends net.minecraftforge.eventbus.api.Event
Modifier and Type | Class and Description |
---|---|
static class |
ClientPlayerNetworkEvent.LoggedInEvent
Fired when the client player logs in to the server.
|
static class |
ClientPlayerNetworkEvent.LoggedOutEvent
Fired when the player logs out.
|
static class |
ClientPlayerNetworkEvent.RespawnEvent
Fired when the player object respawns, such as dimension changes.
|
Modifier and Type | Method and Description |
---|---|
PlayerController |
getController() |
NetworkManager |
getNetworkManager() |
ClientPlayerEntity |
getPlayer() |
@Nullable public PlayerController getController()
@Nullable public ClientPlayerEntity getPlayer()
@Nullable public NetworkManager getNetworkManager()