Uses of Class
net.minecraft.client.multiplayer.MultiPlayerGameMode
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of MultiPlayerGameMode in net.minecraft.client
-
Uses of MultiPlayerGameMode in net.neoforged.neoforge.client
Modifier and TypeMethodDescriptionstatic void
ClientHooks.firePlayerLogin
(MultiPlayerGameMode pc, LocalPlayer player, Connection networkManager) static void
ClientHooks.firePlayerLogout
(@Nullable MultiPlayerGameMode pc, @Nullable LocalPlayer player) static void
ClientHooks.firePlayerRespawn
(MultiPlayerGameMode pc, LocalPlayer oldPlayer, LocalPlayer newPlayer, Connection networkManager) -
Uses of MultiPlayerGameMode in net.neoforged.neoforge.client.event
Modifier and TypeFieldDescriptionprivate final MultiPlayerGameMode
ClientPlayerNetworkEvent.multiPlayerGameMode
Modifier and TypeMethodDescriptionClientPlayerNetworkEvent.getMultiPlayerGameMode()
Returns the multiplayer game mode controller for the player.@Nullable MultiPlayerGameMode
ClientPlayerNetworkEvent.LoggingOut.getMultiPlayerGameMode()
Returns the multiplayer game mode controller for the player, may benull
.ModifierConstructorDescriptionprotected
ClientPlayerNetworkEvent
(MultiPlayerGameMode multiPlayerGameMode, LocalPlayer player, Connection connection) Clone
(MultiPlayerGameMode pc, LocalPlayer oldPlayer, LocalPlayer newPlayer, Connection networkManager) LoggingIn
(MultiPlayerGameMode controller, LocalPlayer player, Connection networkManager) LoggingOut
(@Nullable MultiPlayerGameMode controller, @Nullable LocalPlayer player, @Nullable Connection networkManager)