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_, ConnectionType connectionType) 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, boolean transferred) Deprecated.UseCommonListenerCookie(GameProfile, int, ClientInformation, boolean, net.neoforged.neoforge.network.connection.ConnectionType)
instead, to indicate whether the connection is modded.CommonListenerCookie
(com.mojang.authlib.GameProfile gameProfile, int latency, ClientInformation clientInformation, boolean transferred, ConnectionType connectionType) 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.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as ClientInformationModifier and TypeFieldDescriptionprivate final ClientInformation
ClientInformationUpdatedEvent.oldInformation
private final ClientInformation
ClientInformationUpdatedEvent.updatedInformation
Methods in net.neoforged.neoforge.event.entity.player that return ClientInformationModifier and TypeMethodDescriptionClientInformationUpdatedEvent.getOldInformation()
Returns the existing client info from to the player.ClientInformationUpdatedEvent.getUpdatedInformation()
Returns the new client info to be applied to the player.Constructors in net.neoforged.neoforge.event.entity.player with parameters of type ClientInformationModifierConstructorDescriptionClientInformationUpdatedEvent
(ServerPlayer player, ClientInformation oldInfo, ClientInformation newInfo)
ServerCommonPacketListenerImpl.createCookie(ClientInformation, net.neoforged.neoforge.network.connection.ConnectionType)
instead, keeping the connection type information available.