Uses of Record Class
net.minecraft.network.DisconnectionInfo
Packages that use DisconnectionInfo
Package
Description
-
Uses of DisconnectionInfo in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as DisconnectionInfoConstructors in net.minecraft.client.gui.screen with parameters of type DisconnectionInfoModifierConstructorDescriptionDisconnectedScreen
(Screen parent, Text title, DisconnectionInfo info) DisconnectedScreen
(Screen parent, Text title, DisconnectionInfo info, Text buttonLabel) -
Uses of DisconnectionInfo in net.minecraft.client.network
Methods in net.minecraft.client.network that return DisconnectionInfoModifier and TypeMethodDescriptionClientCommonNetworkHandler.createDisconnectionInfo
(Text reason, Throwable exception) Methods in net.minecraft.client.network with parameters of type DisconnectionInfoModifier 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
Fields in net.minecraft.network declared as DisconnectionInfoModifier and TypeFieldDescriptionprivate @Nullable DisconnectionInfo
ClientConnection.disconnectionInfo
private @Nullable DisconnectionInfo
ClientConnection.pendingDisconnectionInfo
Methods in net.minecraft.network that return DisconnectionInfoMethods in net.minecraft.network with parameters of type DisconnectionInfoModifier and TypeMethodDescriptionvoid
ClientConnection.disconnect
(DisconnectionInfo disconnectionInfo) -
Uses of DisconnectionInfo in net.minecraft.network.listener
Methods in net.minecraft.network.listener that return DisconnectionInfoModifier and TypeMethodDescriptiondefault DisconnectionInfo
PacketListener.createDisconnectionInfo
(Text reason, Throwable exception) Methods in net.minecraft.network.listener with parameters of type DisconnectionInfoModifier and TypeMethodDescriptionvoid
PacketListener.onDisconnected
(DisconnectionInfo info) Called when the connection this listener listens to has disconnected. -
Uses of DisconnectionInfo in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type DisconnectionInfoModifier 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.