Class ClientPlayerNetworkEvent.LoggingIn
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent
net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent.LoggingIn
- Enclosing class:
ClientPlayerNetworkEvent
Fired when the client player logs in to the server. The player should be initialized.
This event is not
, and does not
invalid reference
cancellable
.invalid reference
have a result
This event is fired on the main Forge event bus, only on the logical client.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent
ClientPlayerNetworkEvent.Clone, ClientPlayerNetworkEvent.LoggingIn, ClientPlayerNetworkEvent.LoggingOut
-
Constructor Summary
ConstructorDescriptionLoggingIn
(MultiPlayerGameMode controller, LocalPlayer player, Connection networkManager) -
Method Summary
Methods inherited from class net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent
getConnection, getMultiPlayerGameMode, getPlayer
-
Constructor Details
-
LoggingIn
@Internal public LoggingIn(MultiPlayerGameMode controller, LocalPlayer player, Connection networkManager)
-