Package net.minecraft.server.network
Class ServerConfigurationNetworkHandler
java.lang.Object
net.minecraft.server.network.ServerCommonNetworkHandler
net.minecraft.server.network.ServerConfigurationNetworkHandler
- All Implemented Interfaces:
PacketListener
,ServerCommonPacketListener
,ServerConfigurationPacketListener
,ServerCookieResponsePacketListener
,ServerCrashSafePacketListener
,ServerPacketListener
,TickablePacketListener
public class ServerConfigurationNetworkHandler
extends ServerCommonNetworkHandler
implements ServerConfigurationPacketListener, TickablePacketListener
- Mappings:
Namespace Name named net/minecraft/server/network/ServerConfigurationNetworkHandler
intermediary net/minecraft/class_8610
official ark
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private static final Logger
private final com.mojang.authlib.GameProfile
private SyncedClientOptions
private @Nullable SynchronizeRegistriesTask
private final Queue
<ServerPlayerConfigurationTask> Fields inherited from class net.minecraft.server.network.ServerCommonNetworkHandler
connection, KEEP_ALIVE_INTERVAL, server, UNEXPECTED_QUERY_RESPONSE_TEXT
-
Constructor Summary
ConstructorDescriptionServerConfigurationNetworkHandler
(MinecraftServer server, ClientConnection connection, ConnectedClientData clientData) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected com.mojang.authlib.GameProfile
boolean
void
void
onDisconnected
(Text reason) Called when the connection this listener listens to has disconnected.void
onReady
(ReadyC2SPacket packet) void
void
private void
private void
pollTask()
private void
void
void
tick()
Ticks this packet listener on the game engine thread.Methods inherited from class net.minecraft.server.network.ServerCommonNetworkHandler
baseTick, createClientData, disableFlush, disconnect, enableFlush, getDebugProfile, getLatency, isHost, onCookieResponse, onCustomPayload, onKeepAlive, onPong, send, sendPacket
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.listener.PacketListener
accepts, addCustomCrashReportInfo, fillCrashReport
Methods inherited from interface net.minecraft.network.listener.ServerCommonPacketListener
onCustomPayload, onKeepAlive, onPong
Methods inherited from interface net.minecraft.network.listener.ServerConfigurationPacketListener
getPhase
Methods inherited from interface net.minecraft.network.listener.ServerCookieResponsePacketListener
onCookieResponse
Methods inherited from interface net.minecraft.network.listener.ServerCrashSafePacketListener
onPacketException
Methods inherited from interface net.minecraft.network.listener.ServerPacketListener
getSide
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;LOGGER:Lorg/slf4j/Logger;
intermediary field_45020
Lnet/minecraft/class_8610;field_45020:Lorg/slf4j/Logger;
official f
Lark;f:Lorg/slf4j/Logger;
-
INVALID_PLAYER_DATA_TEXT
- Mappings:
Namespace Name Mixin selector named INVALID_PLAYER_DATA_TEXT
Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;INVALID_PLAYER_DATA_TEXT:Lnet/minecraft/text/Text;
intermediary field_45021
Lnet/minecraft/class_8610;field_45021:Lnet/minecraft/class_2561;
official g
Lark;g:Lwu;
-
profile
private final com.mojang.authlib.GameProfile profile- Mappings:
Namespace Name Mixin selector named profile
Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;profile:Lcom/mojang/authlib/GameProfile;
intermediary field_45022
Lnet/minecraft/class_8610;field_45022:Lcom/mojang/authlib/GameProfile;
official h
Lark;h:Lcom/mojang/authlib/GameProfile;
-
tasks
- Mappings:
Namespace Name Mixin selector named tasks
Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;tasks:Ljava/util/Queue;
intermediary field_45023
Lnet/minecraft/class_8610;field_45023:Ljava/util/Queue;
official i
Lark;i:Ljava/util/Queue;
-
currentTask
- Mappings:
Namespace Name Mixin selector named currentTask
Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;currentTask:Lnet/minecraft/server/network/ServerPlayerConfigurationTask;
intermediary field_45024
Lnet/minecraft/class_8610;field_45024:Lnet/minecraft/class_8605;
official j
Lark;j:Larc;
-
syncedOptions
- Mappings:
Namespace Name Mixin selector named syncedOptions
Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;syncedOptions:Lnet/minecraft/network/packet/c2s/common/SyncedClientOptions;
intermediary field_46157
Lnet/minecraft/class_8610;field_46157:Lnet/minecraft/class_8791;
official k
Lark;k:Lapz;
-
synchronizedRegistriesTask
- Mappings:
Namespace Name Mixin selector named synchronizedRegistriesTask
Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;synchronizedRegistriesTask:Lnet/minecraft/server/network/SynchronizeRegistriesTask;
intermediary field_49026
Lnet/minecraft/class_8610;field_49026:Lnet/minecraft/class_9223;
official l
Lark;l:Larv;
-
-
Constructor Details
-
ServerConfigurationNetworkHandler
public ServerConfigurationNetworkHandler(MinecraftServer server, ClientConnection connection, ConnectedClientData clientData) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/network/ServerCommonNetworkHandler;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/network/ClientConnection;Lnet/minecraft/server/network/ConnectedClientData;)V
intermediary <init>
Lnet/minecraft/class_8609;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_2535;Lnet/minecraft/class_8792;)V
official <init>
Larj;<init>(Lnet/minecraft/server/MinecraftServer;Lvp;Larb;)V
-
-
Method Details
-
getProfile
protected com.mojang.authlib.GameProfile getProfile()- Specified by:
getProfile
in classServerCommonNetworkHandler
- Mappings:
Namespace Name Mixin selector named getProfile
Lnet/minecraft/server/network/ServerCommonNetworkHandler;getProfile()Lcom/mojang/authlib/GameProfile;
intermediary method_52403
Lnet/minecraft/class_8609;method_52403()Lcom/mojang/authlib/GameProfile;
official i
Larj;i()Lcom/mojang/authlib/GameProfile;
-
onDisconnected
Called when the connection this listener listens to has disconnected. Can be used to display the disconnection reason.- Specified by:
onDisconnected
in interfacePacketListener
- Overrides:
onDisconnected
in classServerCommonNetworkHandler
- Parameters:
reason
- the reason of disconnection; may be a generic message- Mappings:
Namespace Name Mixin selector named onDisconnected
Lnet/minecraft/network/listener/PacketListener;onDisconnected(Lnet/minecraft/text/Text;)V
intermediary method_10839
Lnet/minecraft/class_2547;method_10839(Lnet/minecraft/class_2561;)V
official a
Lwa;a(Lwu;)V
-
isConnectionOpen
public boolean isConnectionOpen()- Specified by:
isConnectionOpen
in interfacePacketListener
- Mappings:
Namespace Name Mixin selector named isConnectionOpen
Lnet/minecraft/network/listener/PacketListener;isConnectionOpen()Z
intermediary method_48106
Lnet/minecraft/class_2547;method_48106()Z
official c
Lwa;c()Z
-
sendConfigurations
public void sendConfigurations()- Mappings:
Namespace Name Mixin selector named sendConfigurations
Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;sendConfigurations()V
intermediary method_52409
Lnet/minecraft/class_8610;method_52409()V
official l
Lark;l()V
-
endConfiguration
public void endConfiguration()- Mappings:
Namespace Name Mixin selector named endConfiguration
Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;endConfiguration()V
intermediary method_52410
Lnet/minecraft/class_8610;method_52410()V
official m
Lark;m()V
-
queueSendResourcePackTask
private void queueSendResourcePackTask()- Mappings:
Namespace Name Mixin selector named queueSendResourcePackTask
Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;queueSendResourcePackTask()V
intermediary method_52411
Lnet/minecraft/class_8610;method_52411()V
official n
Lark;n()V
-
onClientOptions
- Specified by:
onClientOptions
in interfaceServerCommonPacketListener
- Mappings:
Namespace Name Mixin selector named onClientOptions
Lnet/minecraft/network/listener/ServerCommonPacketListener;onClientOptions(Lnet/minecraft/network/packet/c2s/common/ClientOptionsC2SPacket;)V
intermediary method_12069
Lnet/minecraft/class_8706;method_12069(Lnet/minecraft/class_2803;)V
official a
Lzs;a(Lzt;)V
-
onResourcePackStatus
- Specified by:
onResourcePackStatus
in interfaceServerCommonPacketListener
- Overrides:
onResourcePackStatus
in classServerCommonNetworkHandler
- Mappings:
Namespace Name Mixin selector named onResourcePackStatus
Lnet/minecraft/network/listener/ServerCommonPacketListener;onResourcePackStatus(Lnet/minecraft/network/packet/c2s/common/ResourcePackStatusC2SPacket;)V
intermediary method_52395
Lnet/minecraft/class_8706;method_52395(Lnet/minecraft/class_2856;)V
official a
Lzs;a(Lzx;)V
-
onSelectKnownPacks
- Specified by:
onSelectKnownPacks
in interfaceServerConfigurationPacketListener
- Mappings:
Namespace Name Mixin selector named onSelectKnownPacks
Lnet/minecraft/network/listener/ServerConfigurationPacketListener;onSelectKnownPacks(Lnet/minecraft/network/packet/c2s/config/SelectKnownPacksC2SPacket;)V
intermediary method_56909
Lnet/minecraft/class_8735;method_56909(Lnet/minecraft/class_9220;)V
official a
Labd;a(Labf;)V
-
onReady
- Specified by:
onReady
in interfaceServerConfigurationPacketListener
- Mappings:
Namespace Name Mixin selector named onReady
Lnet/minecraft/network/listener/ServerConfigurationPacketListener;onReady(Lnet/minecraft/network/packet/c2s/config/ReadyC2SPacket;)V
intermediary method_52408
Lnet/minecraft/class_8735;method_52408(Lnet/minecraft/class_8736;)V
official a
Labd;a(Labe;)V
-
tick
public void tick()Ticks this packet listener on the game engine thread. The listener is responsible for synchronizing between the game engine and netty event loop threads.- Specified by:
tick
in interfaceTickablePacketListener
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/network/listener/TickablePacketListener;tick()V
intermediary method_18784
Lnet/minecraft/class_7633;method_18784()V
official d
Lwi;d()V
-
pollTask
private void pollTask()- Mappings:
Namespace Name Mixin selector named pollTask
Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;pollTask()V
intermediary method_52412
Lnet/minecraft/class_8610;method_52412()V
official o
Lark;o()V
-
onTaskFinished
- Mappings:
Namespace Name Mixin selector named onTaskFinished
Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;onTaskFinished(Lnet/minecraft/server/network/ServerPlayerConfigurationTask$Key;)V
intermediary method_52406
Lnet/minecraft/class_8610;method_52406(Lnet/minecraft/class_8605$class_8606;)V
official a
Lark;a(Larc$a;)V
-