Uses of Class
net.minecraft.client.network.ServerInfo
Packages that use ServerInfo
Package
Description
-
Uses of ServerInfo in net.minecraft.client
Fields in net.minecraft.client declared as ServerInfoMethods in net.minecraft.client that return ServerInfoMethods in net.minecraft.client with parameters of type ServerInfoModifier and TypeMethodDescriptionvoid
MinecraftClient.setCurrentServerEntry
(@Nullable ServerInfo serverEntry) -
Uses of ServerInfo in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as ServerInfoModifier and TypeFieldDescriptionprivate final ServerInfo
AddServerScreen.server
private final ServerInfo
DirectConnectScreen.serverEntry
Methods in net.minecraft.client.gui.screen with parameters of type ServerInfoModifier and TypeMethodDescriptionstatic void
ConnectScreen.connect
(Screen screen, MinecraftClient client, ServerAddress address, @Nullable ServerInfo info) Constructors in net.minecraft.client.gui.screen with parameters of type ServerInfoModifierConstructorDescriptionAddServerScreen
(Screen parent, BooleanConsumer callback, ServerInfo server) DirectConnectScreen
(Screen parent, BooleanConsumer callback, ServerInfo server) -
Uses of ServerInfo in net.minecraft.client.gui.screen.multiplayer
Fields in net.minecraft.client.gui.screen.multiplayer declared as ServerInfoModifier and TypeFieldDescriptionprivate ServerInfo
MultiplayerScreen.selectedEntry
private final ServerInfo
MultiplayerServerListWidget.ServerEntry.server
private final ServerInfo
ChatPreviewWarningScreen.serverInfo
Methods in net.minecraft.client.gui.screen.multiplayer that return ServerInfoMethods in net.minecraft.client.gui.screen.multiplayer with parameters of type ServerInfoConstructors in net.minecraft.client.gui.screen.multiplayer with parameters of type ServerInfoModifierConstructorDescriptionChatPreviewWarningScreen
(@Nullable Screen parent, ServerInfo serverInfo) protected
ServerEntry
(MultiplayerScreen screen, ServerInfo server) -
Uses of ServerInfo in net.minecraft.client.network
Methods in net.minecraft.client.network that return ServerInfoMethods in net.minecraft.client.network with parameters of type ServerInfoModifier and TypeMethodDescriptionvoid
MultiplayerServerListPinger.add
(ServerInfo entry, Runnable saver) void
ServerInfo.copyFrom
(ServerInfo serverInfo) void
ServerInfo.copyWithSettingsFrom
(ServerInfo serverInfo) (package private) void
MultiplayerServerListPinger.ping
(InetSocketAddress address, ServerInfo info) (package private) void
MultiplayerServerListPinger.showError
(Text error, ServerInfo info) -
Uses of ServerInfo in net.minecraft.client.option
Fields in net.minecraft.client.option with type parameters of type ServerInfoModifier and TypeFieldDescriptionprivate final List<ServerInfo>
ServerList.hiddenServers
private final List<ServerInfo>
ServerList.servers
Methods in net.minecraft.client.option that return ServerInfoModifier and TypeMethodDescriptionServerList.get
(int index) Returns the server info foraddress
, ornull
if there is no such one.Returns the previously hidden server info for the addressaddress
, ornull
if there is no such info.Methods in net.minecraft.client.option with parameters of type ServerInfoModifier and TypeMethodDescriptionvoid
ServerList.add
(ServerInfo serverInfo, boolean hidden) Adds a server info to this list.void
ServerList.remove
(ServerInfo serverInfo) private static boolean
ServerList.replace
(ServerInfo serverInfo, List<ServerInfo> serverInfos) Replaces the server info inserverInfos
whose name and address matchserverInfo
's withserverInfo
.void
ServerList.set
(int index, ServerInfo serverInfo) static void
ServerList.updateServerListEntry
(ServerInfo serverInfo) Method parameters in net.minecraft.client.option with type arguments of type ServerInfoModifier and TypeMethodDescriptionprivate static boolean
ServerList.replace
(ServerInfo serverInfo, List<ServerInfo> serverInfos) Replaces the server info inserverInfos
whose name and address matchserverInfo
's withserverInfo
. -
Uses of ServerInfo in net.minecraft.client.realms.dto
Methods in net.minecraft.client.realms.dto that return ServerInfo