Uses of Class
net.minecraft.client.network.ServerInfo
Packages that use ServerInfo
Package
Description
-
Uses of ServerInfo in net.minecraft.client
Methods in net.minecraft.client that return ServerInfo -
Uses of ServerInfo in net.minecraft.client.gui.screen.multiplayer
Fields in net.minecraft.client.gui.screen.multiplayer declared as ServerInfoModifier and TypeFieldDescriptionprivate ServerInfoMultiplayerScreen.selectedEntryprivate final ServerInfoAddServerScreen.serverprivate final ServerInfoMultiplayerServerListWidget.ServerEntry.serverprivate final ServerInfoDirectConnectScreen.serverEntryprivate final ServerInfoCodeOfConductScreen.serverInfoMethods in net.minecraft.client.gui.screen.multiplayer that return ServerInfoMethods in net.minecraft.client.gui.screen.multiplayer with parameters of type ServerInfoModifier and TypeMethodDescriptionstatic voidConnectScreen.connect(Screen screen, MinecraftClient client, ServerAddress address, ServerInfo info, boolean quickPlay, @Nullable CookieStorage cookieStorage) private voidConnectScreen.connect(MinecraftClient client, ServerAddress address, ServerInfo info, @Nullable CookieStorage cookieStorage) voidMultiplayerScreen.connect(ServerInfo entry) Constructors in net.minecraft.client.gui.screen.multiplayer with parameters of type ServerInfoModifierConstructorDescriptionAddServerScreen(Screen parent, Text text, BooleanConsumer booleanConsumer, ServerInfo serverInfo) CodeOfConductScreen(@Nullable ServerInfo serverInfo, Screen screen, String string, BooleanConsumer booleanConsumer) privateCodeOfConductScreen(@Nullable ServerInfo serverInfo, Screen screen, Text text, String string, BooleanConsumer booleanConsumer) DirectConnectScreen(Screen parent, BooleanConsumer callback, ServerInfo server) protectedServerEntry(MultiplayerScreen screen, ServerInfo server) -
Uses of ServerInfo in net.minecraft.client.network
Fields in net.minecraft.client.network declared as ServerInfoModifier and TypeFieldDescriptionprotected final ServerInfoClientCommonNetworkHandler.serverInfoprivate final ServerInfoClientConnectionState.serverInfoThe field for theserverInforecord component.private final ServerInfoClientLoginNetworkHandler.serverInfoMethods in net.minecraft.client.network that return ServerInfoModifier and TypeMethodDescriptionstatic ServerInfoServerInfo.fromNbt(NbtCompound root) @Nullable ServerInfoClientPlayNetworkHandler.getServerInfo()@Nullable ServerInfoClientConnectionState.serverInfo()Returns the value of theserverInforecord component.Methods in net.minecraft.client.network with parameters of type ServerInfoModifier and TypeMethodDescriptionvoidMultiplayerServerListPinger.add(ServerInfo entry, Runnable saver, Runnable pingCallback, NetworkingBackend backend) voidServerInfo.copyFrom(ServerInfo serverInfo) voidServerInfo.copyWithSettingsFrom(ServerInfo serverInfo) (package private) voidMultiplayerServerListPinger.ping(InetSocketAddress socketAddress, ServerAddress address, ServerInfo serverInfo, NetworkingBackend backend) (package private) voidMultiplayerServerListPinger.showError(Text error, ServerInfo info) Constructors in net.minecraft.client.network with parameters of type ServerInfoModifierConstructorDescriptionClientConnectionState(ClientChunkLoadProgress chunkLoadProgress, com.mojang.authlib.GameProfile localGameProfile, WorldSession worldSession, DynamicRegistryManager.Immutable receivedRegistries, FeatureSet enabledFeatures, @Nullable String serverBrand, @Nullable ServerInfo serverInfo, @Nullable Screen postDisconnectScreen, Map<Identifier, byte[]> serverCookies, @Nullable ChatHud.ChatState chatState, Map<String, String> customReportDetails, ServerLinks serverLinks, Map<UUID, PlayerListEntry> seenPlayers, boolean seenInsecureChatWarning) Creates an instance of aClientConnectionStaterecord class.ClientLoginNetworkHandler(ClientConnection connection, MinecraftClient client, @Nullable ServerInfo serverInfo, @Nullable Screen parentScreen, boolean newWorld, @Nullable Duration worldLoadTime, Consumer<Text> statusConsumer, ClientChunkLoadProgress clientChunkLoadProgress, @Nullable CookieStorage cookieStorage) -
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.hiddenServersprivate final List<ServerInfo> ServerList.serversMethods in net.minecraft.client.option that return ServerInfoModifier and TypeMethodDescriptionServerList.get(int index) @Nullable ServerInfoReturns the server info foraddress, ornullif there is no such one.@Nullable ServerInfoReturns the previously hidden server info for the addressaddress, ornullif there is no such info.Methods in net.minecraft.client.option with parameters of type ServerInfoModifier and TypeMethodDescriptionvoidServerList.add(ServerInfo serverInfo, boolean hidden) Adds a server info to this list.voidServerList.remove(ServerInfo serverInfo) private static booleanServerList.replace(ServerInfo serverInfo, List<ServerInfo> serverInfos) Replaces the server info inserverInfoswhose name and address matchserverInfo's withserverInfo.voidServerList.set(int index, ServerInfo serverInfo) static voidServerList.updateServerListEntry(ServerInfo serverInfo) Method parameters in net.minecraft.client.option with type arguments of type ServerInfoModifier and TypeMethodDescriptionprivate static booleanServerList.replace(ServerInfo serverInfo, List<ServerInfo> serverInfos) Replaces the server info inserverInfoswhose 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