Uses of Class
net.minecraft.client.multiplayer.ServerData
Package
Description
-
Uses of ServerData in com.mojang.realmsclient.dto
-
Uses of ServerData in net.minecraft.client
-
Uses of ServerData in net.minecraft.client.gui.screens
Modifier and TypeFieldDescriptionprivate final ServerData
DirectJoinServerScreen.serverData
private final ServerData
EditServerScreen.serverData
Modifier and TypeMethodDescriptionprivate void
ConnectScreen.connect
(Minecraft p_251955_, ServerAddress p_249536_, ServerData p_252078_, TransferState p_320415_) static void
ConnectScreen.startConnecting
(Screen p_279473_, Minecraft p_279200_, ServerAddress p_279150_, ServerData p_279481_, boolean p_279117_, TransferState p_320013_) ModifierConstructorDescriptionDirectJoinServerScreen
(Screen p_95960_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_95961_, ServerData p_95962_) EditServerScreen
(Screen p_96017_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_96018_, ServerData p_96019_) -
Uses of ServerData in net.minecraft.client.gui.screens.multiplayer
Modifier and TypeFieldDescriptionprivate ServerData
JoinMultiplayerScreen.editingServer
private final ServerData
ServerSelectionList.OnlineServerEntry.serverData
ModifierConstructorDescriptionprotected
OnlineServerEntry
(JoinMultiplayerScreen p_99864_, ServerData p_99865_) -
Uses of ServerData in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprotected final ServerData
ClientCommonPacketListenerImpl.serverData
private final ServerData
ClientHandshakePacketListenerImpl.serverData
private final ServerData
CommonListenerCookie.serverData
The field for theserverData
record component.Modifier and TypeFieldDescriptionprivate final List
<ServerData> ServerList.hiddenServerList
private final List
<ServerData> ServerList.serverList
Modifier and TypeMethodDescriptionServerList.get
(int p_105433_) ClientPacketListener.getServerData()
static ServerData
ServerData.read
(CompoundTag p_105386_) CommonListenerCookie.serverData()
Returns the value of theserverData
record component.Modifier and TypeMethodDescriptionvoid
ServerList.add
(ServerData p_233843_, boolean p_233844_) void
ServerData.copyFrom
(ServerData p_105382_) void
ServerData.copyNameIconFrom
(ServerData p_233804_) (package private) void
ServerStatusPinger.onPingFailed
(Component p_171815_, ServerData p_171816_) (package private) void
ServerStatusPinger.pingLegacyServer
(InetSocketAddress p_171812_, ServerAddress p_295436_, ServerData p_171813_) void
ServerStatusPinger.pingServer
(ServerData p_105460_, Runnable p_105461_, Runnable p_316316_) void
ServerList.remove
(ServerData p_105441_) void
ServerList.replace
(int p_105438_, ServerData p_105439_) static void
ServerList.saveSingleServer
(ServerData p_105447_) private static boolean
ServerList.set
(ServerData p_233840_, List<ServerData> p_233841_) Modifier and TypeMethodDescriptionprivate static boolean
ServerList.set
(ServerData p_233840_, List<ServerData> p_233841_) ModifierConstructorDescriptionClientHandshakePacketListenerImpl
(Connection p_261697_, Minecraft p_261835_, ServerData p_261938_, Screen p_261783_, boolean p_261562_, Duration p_261673_, Consumer<Component> p_261945_, TransferState p_320762_) CommonListenerCookie
(com.mojang.authlib.GameProfile localGameProfile, WorldSessionTelemetryManager telemetryManager, RegistryAccess.Frozen receivedRegistries, FeatureFlagSet enabledFeatures, String serverBrand, ServerData serverData, Screen postDisconnectScreen, Map<ResourceLocation, byte[]> serverCookies, ChatComponent.State chatState, boolean strictErrorHandling) Deprecated.CommonListenerCookie
(com.mojang.authlib.GameProfile localGameProfile, WorldSessionTelemetryManager telemetryManager, RegistryAccess.Frozen receivedRegistries, FeatureFlagSet enabledFeatures, String serverBrand, ServerData serverData, Screen postDisconnectScreen, Map<ResourceLocation, byte[]> serverCookies, ChatComponent.State chatState, boolean strictErrorHandling, ConnectionType connectionType) Creates an instance of aCommonListenerCookie
record class.
CommonListenerCookie(GameProfile, WorldSessionTelemetryManager, RegistryAccess.Frozen, FeatureFlagSet, String, ServerData, Screen, Map, ChatComponent.State, boolean, net.neoforged.neoforge.network.connection.ConnectionType)
instead,to indicate whether the connection is modded.