Uses of Record Class
net.minecraft.server.level.ClientInformation
Package
Description
-
Uses of ClientInformation in net.minecraft.client
-
Uses of ClientInformation in net.minecraft.network.protocol.common
Modifier and TypeFieldDescriptionprivate final ClientInformation
ServerboundClientInformationPacket.information
The field for theinformation
record component.Modifier and TypeMethodDescriptionServerboundClientInformationPacket.information()
Returns the value of theinformation
record component.ModifierConstructorDescriptionServerboundClientInformationPacket
(ClientInformation information) Creates an instance of aServerboundClientInformationPacket
record class. -
Uses of ClientInformation in net.minecraft.server.level
Modifier and TypeMethodDescriptionServerPlayer.clientInformation()
static ClientInformation
ClientInformation.createDefault()
ModifierConstructorDescriptionServerPlayer
(MinecraftServer p_254143_, ServerLevel p_254435_, com.mojang.authlib.GameProfile p_253651_, ClientInformation p_301997_) -
Uses of ClientInformation in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate final ClientInformation
CommonListenerCookie.clientInformation
The field for theclientInformation
record component.private ClientInformation
ServerConfigurationPacketListenerImpl.clientInformation
Modifier and TypeMethodDescriptionCommonListenerCookie.clientInformation()
Returns the value of theclientInformation
record component.Modifier and TypeMethodDescriptionprotected CommonListenerCookie
ServerCommonPacketListenerImpl.createCookie
(ClientInformation p_301973_) Deprecated.protected CommonListenerCookie
ServerCommonPacketListenerImpl.createCookie
(ClientInformation p_301973_, boolean isModdedConnection) Creates a new cookie for this connection.ModifierConstructorDescriptionCommonListenerCookie
(com.mojang.authlib.GameProfile gameProfile, int latency, ClientInformation clientInformation) Deprecated.UseCommonListenerCookie(GameProfile, int, ClientInformation, boolean)
instead, to indicate whether the connection is modded.CommonListenerCookie
(com.mojang.authlib.GameProfile gameProfile, int latency, ClientInformation clientInformation, boolean isModdedConnection) Creates an instance of aCommonListenerCookie
record class. -
Uses of ClientInformation in net.minecraft.server.players
Modifier and TypeMethodDescriptionPlayerList.getPlayerForLogin
(com.mojang.authlib.GameProfile p_215625_, ClientInformation p_302018_) -
Uses of ClientInformation in net.neoforged.neoforge.common.util
-
Uses of ClientInformation in net.neoforged.testframework.gametest
ModifierConstructorDescriptionGameTestPlayer
(MinecraftServer server, ServerLevel level, com.mojang.authlib.GameProfile profile, ClientInformation information, GameTestHelper helper)
ServerCommonPacketListenerImpl.createCookie(ClientInformation, boolean)
instead, keeping the connection type information available.