Uses of Record Class
net.minecraft.network.DisconnectionInfo
Package
Description
-
Uses of DisconnectionInfo in net.minecraft.client.gui.screen
ModifierConstructorDescriptionDisconnectedScreen
(Screen parent, Text title, DisconnectionInfo info) DisconnectedScreen
(Screen parent, Text title, DisconnectionInfo info, Text buttonLabel) -
Uses of DisconnectionInfo in net.minecraft.client.network
Modifier and TypeMethodDescriptionClientCommonNetworkHandler.createDisconnectionInfo
(Text reason, Throwable exception) Modifier and TypeMethodDescriptionprotected Screen
ClientCommonNetworkHandler.createDisconnectedScreen
(DisconnectionInfo info) void
ClientCommonNetworkHandler.onDisconnected
(DisconnectionInfo info) Called when the connection this listener listens to has disconnected.void
ClientConfigurationNetworkHandler.onDisconnected
(DisconnectionInfo info) Called when the connection this listener listens to has disconnected.void
ClientLoginNetworkHandler.onDisconnected
(DisconnectionInfo info) Called when the connection this listener listens to has disconnected. -
Uses of DisconnectionInfo in net.minecraft.network
Modifier and TypeFieldDescriptionprivate @Nullable DisconnectionInfo
ClientConnection.disconnectionInfo
private @Nullable DisconnectionInfo
ClientConnection.pendingDisconnectionInfo
Modifier and TypeMethodDescriptionvoid
ClientConnection.disconnect
(DisconnectionInfo disconnectionInfo) -
Uses of DisconnectionInfo in net.minecraft.network.listener
Modifier and TypeMethodDescriptiondefault DisconnectionInfo
PacketListener.createDisconnectionInfo
(Text reason, Throwable exception) Modifier and TypeMethodDescriptionvoid
PacketListener.onDisconnected
(DisconnectionInfo info) Called when the connection this listener listens to has disconnected. -
Uses of DisconnectionInfo in net.minecraft.server.network
Modifier and TypeMethodDescriptionvoid
ServerCommonNetworkHandler.disconnect
(DisconnectionInfo disconnectionInfo) void
LocalServerHandshakeNetworkHandler.onDisconnected
(DisconnectionInfo info) Called when the connection this listener listens to has disconnected.void
ServerCommonNetworkHandler.onDisconnected
(DisconnectionInfo info) Called when the connection this listener listens to has disconnected.void
ServerConfigurationNetworkHandler.onDisconnected
(DisconnectionInfo info) Called when the connection this listener listens to has disconnected.void
ServerHandshakeNetworkHandler.onDisconnected
(DisconnectionInfo info) Called when the connection this listener listens to has disconnected.void
ServerLoginNetworkHandler.onDisconnected
(DisconnectionInfo info) Called when the connection this listener listens to has disconnected.void
ServerPlayNetworkHandler.onDisconnected
(DisconnectionInfo info) Called when the connection this listener listens to has disconnected.void
ServerQueryNetworkHandler.onDisconnected
(DisconnectionInfo info) Called when the connection this listener listens to has disconnected.