Uses of Record Class
net.minecraft.server.level.ClientInformation
Packages that use ClientInformation
Package
Description
-
Uses of ClientInformation in net.minecraft.client
Methods in net.minecraft.client that return ClientInformation -
Uses of ClientInformation in net.minecraft.network.protocol.common
Fields in net.minecraft.network.protocol.common declared as ClientInformationModifier and TypeFieldDescriptionprivate final ClientInformation
ServerboundClientInformationPacket.information
The field for theinformation
record component.Methods in net.minecraft.network.protocol.common that return ClientInformationModifier and TypeMethodDescriptionServerboundClientInformationPacket.information()
Returns the value of theinformation
record component.Constructors in net.minecraft.network.protocol.common with parameters of type ClientInformationModifierConstructorDescriptionServerboundClientInformationPacket
(ClientInformation information) Creates an instance of aServerboundClientInformationPacket
record class. -
Uses of ClientInformation in net.minecraft.server.level
Methods in net.minecraft.server.level that return ClientInformationModifier and TypeMethodDescriptionServerPlayer.clientInformation()
static ClientInformation
ClientInformation.createDefault()
Methods in net.minecraft.server.level with parameters of type ClientInformationConstructors in net.minecraft.server.level with parameters of type ClientInformationModifierConstructorDescriptionServerPlayer
(MinecraftServer p_254143_, ServerLevel p_254435_, com.mojang.authlib.GameProfile p_253651_, ClientInformation p_301997_) -
Uses of ClientInformation in net.minecraft.server.network
Fields in net.minecraft.server.network declared as ClientInformationModifier and TypeFieldDescriptionprivate final ClientInformation
CommonListenerCookie.clientInformation
The field for theclientInformation
record component.private ClientInformation
ServerConfigurationPacketListenerImpl.clientInformation
Methods in net.minecraft.server.network that return ClientInformationModifier and TypeMethodDescriptionCommonListenerCookie.clientInformation()
Returns the value of theclientInformation
record component.Methods in net.minecraft.server.network with parameters of type ClientInformationModifier 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.Constructors in net.minecraft.server.network with parameters of type ClientInformationModifierConstructorDescriptionCommonListenerCookie
(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
Methods in net.minecraft.server.players with parameters of type ClientInformationModifier and TypeMethodDescriptionPlayerList.getPlayerForLogin
(com.mojang.authlib.GameProfile p_215625_, ClientInformation p_302018_) -
Uses of ClientInformation in net.neoforged.neoforge.common.util
Methods in net.neoforged.neoforge.common.util with parameters of type ClientInformation -
Uses of ClientInformation in net.neoforged.testframework.gametest
Constructors in net.neoforged.testframework.gametest with parameters of type ClientInformationModifierConstructorDescriptionGameTestPlayer
(MinecraftServer server, ServerLevel level, com.mojang.authlib.GameProfile profile, ClientInformation information, GameTestHelper helper)
ServerCommonPacketListenerImpl.createCookie(ClientInformation, boolean)
instead, keeping the connection type information available.