类 ClientConnection
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.SimpleChannelInboundHandler<Packet<?>>
-
- net.minecraft.network.ClientConnection
-
- 所有已实现的接口:
ChannelHandler,ChannelInboundHandler
- 直接已知子类:
RateLimitedConnection
public class ClientConnection extends SimpleChannelInboundHandler<Packet<?>>
A connection backed by a netty channel. It can be one to a client on the server or one to a server on a client.- Mappings:
Namespace Name official nzintermediary net/minecraft/class_2535named net/minecraft/network/ClientConnection
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 (专用程序包) static classClientConnection.QueuedPacket-
从接口继承的嵌套类/接口 io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
-
字段概要
字段 修饰符和类型 字段 说明 private SocketAddressaddressprivate floataveragePacketsReceivedprivate floataveragePacketsSentprivate Channelchannelstatic Lazy<NioEventLoopGroup>CLIENT_IO_GROUPprivate static floatCURRENT_PACKET_COUNTER_WEIGHTRepresents when the average packet counter is updated, what percent of the value of the average counter is set from the current counter.private booleandisconnectedprivate TextdisconnectReasonprivate booleanencryptedstatic Lazy<EpollEventLoopGroup>EPOLL_CLIENT_IO_GROUPprivate booleanerroredstatic Lazy<DefaultEventLoopGroup>LOCAL_CLIENT_IO_GROUPprivate static LoggerLOGGERstatic MarkerNETWORK_MARKERstatic MarkerNETWORK_PACKETS_MARKERprivate PacketListenerpacketListenerprivate Queue<ClientConnection.QueuedPacket>packetQueueprivate intpacketsReceivedCounterprivate intpacketsSentCounterstatic AttributeKey<NetworkState>PROTOCOL_ATTRIBUTE_KEYThe attribute key for the current network state of the backing netty channel.private NetworkSidesideThe side this connection is to.private intticks
-
构造器概要
构造器 构造器 说明 ClientConnection(NetworkSide side)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidchannelActive(ChannelHandlerContext context)voidchannelInactive(ChannelHandlerContext context)protected voidchannelRead0(ChannelHandlerContext channelHandlerContext, Packet<?> packet)static ClientConnectionconnect(InetAddress address, int port, boolean shouldUseNativeTransport)static ClientConnectionconnectLocal(SocketAddress address)voiddisableAutoRead()voiddisconnect(Text disconnectReason)voidexceptionCaught(ChannelHandlerContext context, Throwable ex)SocketAddressgetAddress()floatgetAveragePacketsReceived()floatgetAveragePacketsSent()@Nullable TextgetDisconnectReason()NetworkSidegetOppositeSide()Returns the opposite side of this connection, or the direction of the packets sent by this connection.PacketListenergetPacketListener()NetworkSidegetSide()Returns the side of this connection, or the direction of the packets received by this connection.private NetworkStategetState()Returns the current network state of this connection.voidhandleDisconnection()private static <T extends PacketListener>
voidhandlePacket(Packet<T> packet, PacketListener listener)booleanhasChannel()booleanisEncrypted()booleanisLocal()booleanisOpen()voidsend(Packet<?> packet)voidsend(Packet<?> packet, @Nullable GenericFutureListener<? extends Future<? super Void>> callback)private voidsendImmediately(Packet<?> packet, @Nullable GenericFutureListener<? extends Future<? super Void>> callback)private voidsendQueuedPackets()voidsetCompressionThreshold(int compressionThreshold)voidsetPacketListener(PacketListener listener)Sets the packet listener that will handle oncoming packets, including ones that are not yet handled by the current packet listener.voidsetState(NetworkState state)voidsetupEncryption(Cipher cipher, Cipher cipher2)voidtick()protected voidupdateStats()-
从类继承的方法 io.netty.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelRead
-
从类继承的方法 io.netty.channel.ChannelInboundHandlerAdapter
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
-
从类继承的方法 io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
-
-
-
字段详细资料
-
CURRENT_PACKET_COUNTER_WEIGHT
private static final float CURRENT_PACKET_COUNTER_WEIGHT
Represents when the average packet counter is updated, what percent of the value of the average counter is set from the current counter.The formula is
averagePacketsSent= 0.75f ×packetsSentCounter+ (1 - 0.75f) ×averagePacketsSent.- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official gLnz;g:Fintermediary field_33280Lnet/minecraft/class_2535;field_33280:Fnamed CURRENT_PACKET_COUNTER_WEIGHTLnet/minecraft/network/ClientConnection;CURRENT_PACKET_COUNTER_WEIGHT:F
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official hLnz;h:Lorg/apache/logging/log4j/Logger;intermediary field_11642Lnet/minecraft/class_2535;field_11642:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/network/ClientConnection;LOGGER:Lorg/apache/logging/log4j/Logger;
-
NETWORK_MARKER
public static final Marker NETWORK_MARKER
- Mappings:
Namespace Name Mixin selector official aLnz;a:Lorg/apache/logging/log4j/Marker;intermediary field_11641Lnet/minecraft/class_2535;field_11641:Lorg/apache/logging/log4j/Marker;named NETWORK_MARKERLnet/minecraft/network/ClientConnection;NETWORK_MARKER:Lorg/apache/logging/log4j/Marker;
-
NETWORK_PACKETS_MARKER
public static final Marker NETWORK_PACKETS_MARKER
- Mappings:
Namespace Name Mixin selector official bLnz;b:Lorg/apache/logging/log4j/Marker;intermediary field_11639Lnet/minecraft/class_2535;field_11639:Lorg/apache/logging/log4j/Marker;named NETWORK_PACKETS_MARKERLnet/minecraft/network/ClientConnection;NETWORK_PACKETS_MARKER:Lorg/apache/logging/log4j/Marker;
-
PROTOCOL_ATTRIBUTE_KEY
public static final AttributeKey<NetworkState> PROTOCOL_ATTRIBUTE_KEY
The attribute key for the current network state of the backing netty channel.- Mappings:
Namespace Name Mixin selector official cLnz;c:Lio/netty/util/AttributeKey;intermediary field_11648Lnet/minecraft/class_2535;field_11648:Lio/netty/util/AttributeKey;named PROTOCOL_ATTRIBUTE_KEYLnet/minecraft/network/ClientConnection;PROTOCOL_ATTRIBUTE_KEY:Lio/netty/util/AttributeKey;
-
CLIENT_IO_GROUP
public static final Lazy<NioEventLoopGroup> CLIENT_IO_GROUP
- Mappings:
Namespace Name Mixin selector official dLnz;d:Lagp;intermediary field_11650Lnet/minecraft/class_2535;field_11650:Lnet/minecraft/class_3528;named CLIENT_IO_GROUPLnet/minecraft/network/ClientConnection;CLIENT_IO_GROUP:Lnet/minecraft/util/Lazy;
-
EPOLL_CLIENT_IO_GROUP
public static final Lazy<EpollEventLoopGroup> EPOLL_CLIENT_IO_GROUP
- Mappings:
Namespace Name Mixin selector official eLnz;e:Lagp;intermediary field_11657Lnet/minecraft/class_2535;field_11657:Lnet/minecraft/class_3528;named EPOLL_CLIENT_IO_GROUPLnet/minecraft/network/ClientConnection;EPOLL_CLIENT_IO_GROUP:Lnet/minecraft/util/Lazy;
-
LOCAL_CLIENT_IO_GROUP
public static final Lazy<DefaultEventLoopGroup> LOCAL_CLIENT_IO_GROUP
- Mappings:
Namespace Name Mixin selector official fLnz;f:Lagp;intermediary field_11649Lnet/minecraft/class_2535;field_11649:Lnet/minecraft/class_3528;named LOCAL_CLIENT_IO_GROUPLnet/minecraft/network/ClientConnection;LOCAL_CLIENT_IO_GROUP:Lnet/minecraft/util/Lazy;
-
side
private final NetworkSide side
The side this connection is to.- Mappings:
Namespace Name Mixin selector official iLnz;i:Lpg;intermediary field_11643Lnet/minecraft/class_2535;field_11643:Lnet/minecraft/class_2598;named sideLnet/minecraft/network/ClientConnection;side:Lnet/minecraft/network/NetworkSide;
-
packetQueue
private final Queue<ClientConnection.QueuedPacket> packetQueue
- Mappings:
Namespace Name Mixin selector official jLnz;j:Ljava/util/Queue;intermediary field_11644Lnet/minecraft/class_2535;field_11644:Ljava/util/Queue;named packetQueueLnet/minecraft/network/ClientConnection;packetQueue:Ljava/util/Queue;
-
channel
private Channel channel
- Mappings:
Namespace Name Mixin selector official kLnz;k:Lio/netty/channel/Channel;intermediary field_11651Lnet/minecraft/class_2535;field_11651:Lio/netty/channel/Channel;named channelLnet/minecraft/network/ClientConnection;channel:Lio/netty/channel/Channel;
-
address
private SocketAddress address
- Mappings:
Namespace Name Mixin selector official lLnz;l:Ljava/net/SocketAddress;intermediary field_11645Lnet/minecraft/class_2535;field_11645:Ljava/net/SocketAddress;named addressLnet/minecraft/network/ClientConnection;address:Ljava/net/SocketAddress;
-
packetListener
private PacketListener packetListener
- Mappings:
Namespace Name Mixin selector official mLnz;m:Loe;intermediary field_11652Lnet/minecraft/class_2535;field_11652:Lnet/minecraft/class_2547;named packetListenerLnet/minecraft/network/ClientConnection;packetListener:Lnet/minecraft/network/listener/PacketListener;
-
disconnectReason
private Text disconnectReason
- Mappings:
Namespace Name Mixin selector official nLnz;n:Lon;intermediary field_11660Lnet/minecraft/class_2535;field_11660:Lnet/minecraft/class_2561;named disconnectReasonLnet/minecraft/network/ClientConnection;disconnectReason:Lnet/minecraft/text/Text;
-
encrypted
private boolean encrypted
- Mappings:
Namespace Name Mixin selector official oLnz;o:Zintermediary field_11647Lnet/minecraft/class_2535;field_11647:Znamed encryptedLnet/minecraft/network/ClientConnection;encrypted:Z
-
disconnected
private boolean disconnected
- Mappings:
Namespace Name Mixin selector official pLnz;p:Zintermediary field_11646Lnet/minecraft/class_2535;field_11646:Znamed disconnectedLnet/minecraft/network/ClientConnection;disconnected:Z
-
packetsReceivedCounter
private int packetsReceivedCounter
- Mappings:
Namespace Name Mixin selector official qLnz;q:Iintermediary field_11658Lnet/minecraft/class_2535;field_11658:Inamed packetsReceivedCounterLnet/minecraft/network/ClientConnection;packetsReceivedCounter:I
-
packetsSentCounter
private int packetsSentCounter
- Mappings:
Namespace Name Mixin selector official rLnz;r:Iintermediary field_11656Lnet/minecraft/class_2535;field_11656:Inamed packetsSentCounterLnet/minecraft/network/ClientConnection;packetsSentCounter:I
-
averagePacketsReceived
private float averagePacketsReceived
- Mappings:
Namespace Name Mixin selector official sLnz;s:Fintermediary field_11654Lnet/minecraft/class_2535;field_11654:Fnamed averagePacketsReceivedLnet/minecraft/network/ClientConnection;averagePacketsReceived:F
-
averagePacketsSent
private float averagePacketsSent
- Mappings:
Namespace Name Mixin selector official tLnz;t:Fintermediary field_11653Lnet/minecraft/class_2535;field_11653:Fnamed averagePacketsSentLnet/minecraft/network/ClientConnection;averagePacketsSent:F
-
ticks
private int ticks
- Mappings:
Namespace Name Mixin selector official uLnz;u:Iintermediary field_11655Lnet/minecraft/class_2535;field_11655:Inamed ticksLnet/minecraft/network/ClientConnection;ticks:I
-
errored
private boolean errored
- Mappings:
Namespace Name Mixin selector official vLnz;v:Zintermediary field_11640Lnet/minecraft/class_2535;field_11640:Znamed erroredLnet/minecraft/network/ClientConnection;errored:Z
-
-
构造器详细资料
-
ClientConnection
public ClientConnection(NetworkSide side)
- Mappings:
Namespace Name Mixin selector official <init>Lnz;<init>(Lpg;)Vintermediary <init>Lnet/minecraft/class_2535;<init>(Lnet/minecraft/class_2598;)Vnamed <init>Lnet/minecraft/network/ClientConnection;<init>(Lnet/minecraft/network/NetworkSide;)V
-
-
方法详细资料
-
channelActive
public void channelActive(ChannelHandlerContext context) throws Exception
- 指定者:
channelActive在接口中ChannelInboundHandler- 覆盖:
channelActive在类中ChannelInboundHandlerAdapter- 抛出:
Exception- Mappings:
Namespace Name Mixin selector official channelActiveLnz;channelActive(Lio/netty/channel/ChannelHandlerContext;)Vintermediary channelActiveLnet/minecraft/class_2535;channelActive(Lio/netty/channel/ChannelHandlerContext;)Vnamed channelActiveLnet/minecraft/network/ClientConnection;channelActive(Lio/netty/channel/ChannelHandlerContext;)V
-
setState
public void setState(NetworkState state)
- Mappings:
Namespace Name Mixin selector official aLnz;a(Loa;)Vintermediary method_10750Lnet/minecraft/class_2535;method_10750(Lnet/minecraft/class_2539;)Vnamed setStateLnet/minecraft/network/ClientConnection;setState(Lnet/minecraft/network/NetworkState;)V
-
channelInactive
public void channelInactive(ChannelHandlerContext context)
- 指定者:
channelInactive在接口中ChannelInboundHandler- 覆盖:
channelInactive在类中ChannelInboundHandlerAdapter- Mappings:
Namespace Name Mixin selector official channelInactiveLnz;channelInactive(Lio/netty/channel/ChannelHandlerContext;)Vintermediary channelInactiveLnet/minecraft/class_2535;channelInactive(Lio/netty/channel/ChannelHandlerContext;)Vnamed channelInactiveLnet/minecraft/network/ClientConnection;channelInactive(Lio/netty/channel/ChannelHandlerContext;)V
-
exceptionCaught
public void exceptionCaught(ChannelHandlerContext context, Throwable ex)
- 指定者:
exceptionCaught在接口中ChannelHandler- 指定者:
exceptionCaught在接口中ChannelInboundHandler- 覆盖:
exceptionCaught在类中ChannelInboundHandlerAdapter- Mappings:
Namespace Name Mixin selector official exceptionCaughtLnz;exceptionCaught(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)Vintermediary exceptionCaughtLnet/minecraft/class_2535;exceptionCaught(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)Vnamed exceptionCaughtLnet/minecraft/network/ClientConnection;exceptionCaught(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V
-
channelRead0
protected void channelRead0(ChannelHandlerContext channelHandlerContext, Packet<?> packet)
- 指定者:
channelRead0在类中SimpleChannelInboundHandler<Packet<?>>- Mappings:
Namespace Name Mixin selector official aLnz;a(Lio/netty/channel/ChannelHandlerContext;Lpf;)Vintermediary method_10770Lnet/minecraft/class_2535;method_10770(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/class_2596;)Vnamed channelRead0Lnet/minecraft/network/ClientConnection;channelRead0(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/network/Packet;)V
-
handlePacket
private static <T extends PacketListener> void handlePacket(Packet<T> packet, PacketListener listener)
- Mappings:
Namespace Name Mixin selector official aLnz;a(Lpf;Loe;)Vintermediary method_10759Lnet/minecraft/class_2535;method_10759(Lnet/minecraft/class_2596;Lnet/minecraft/class_2547;)Vnamed handlePacketLnet/minecraft/network/ClientConnection;handlePacket(Lnet/minecraft/network/Packet;Lnet/minecraft/network/listener/PacketListener;)V
-
setPacketListener
public void setPacketListener(PacketListener listener)
Sets the packet listener that will handle oncoming packets, including ones that are not yet handled by the current packet listener.- API Note:
- This may be called from the packetListener stored in this connection.
- Mappings:
Namespace Name Mixin selector official aLnz;a(Loe;)Vintermediary method_10763Lnet/minecraft/class_2535;method_10763(Lnet/minecraft/class_2547;)Vnamed setPacketListenerLnet/minecraft/network/ClientConnection;setPacketListener(Lnet/minecraft/network/listener/PacketListener;)V
-
send
public void send(Packet<?> packet)
- Mappings:
Namespace Name Mixin selector official aLnz;a(Lpf;)Vintermediary method_10743Lnet/minecraft/class_2535;method_10743(Lnet/minecraft/class_2596;)Vnamed sendLnet/minecraft/network/ClientConnection;send(Lnet/minecraft/network/Packet;)V
-
send
public void send(Packet<?> packet, @Nullable @Nullable GenericFutureListener<? extends Future<? super Void>> callback)
- Mappings:
Namespace Name Mixin selector official aLnz;a(Lpf;Lio/netty/util/concurrent/GenericFutureListener;)Vintermediary method_10752Lnet/minecraft/class_2535;method_10752(Lnet/minecraft/class_2596;Lio/netty/util/concurrent/GenericFutureListener;)Vnamed sendLnet/minecraft/network/ClientConnection;send(Lnet/minecraft/network/Packet;Lio/netty/util/concurrent/GenericFutureListener;)V
-
sendImmediately
private void sendImmediately(Packet<?> packet, @Nullable @Nullable GenericFutureListener<? extends Future<? super Void>> callback)
- Mappings:
Namespace Name Mixin selector official bLnz;b(Lpf;Lio/netty/util/concurrent/GenericFutureListener;)Vintermediary method_10764Lnet/minecraft/class_2535;method_10764(Lnet/minecraft/class_2596;Lio/netty/util/concurrent/GenericFutureListener;)Vnamed sendImmediatelyLnet/minecraft/network/ClientConnection;sendImmediately(Lnet/minecraft/network/Packet;Lio/netty/util/concurrent/GenericFutureListener;)V
-
getState
private NetworkState getState()
Returns the current network state of this connection.- Mappings:
Namespace Name Mixin selector official pLnz;p()Loa;intermediary method_32306Lnet/minecraft/class_2535;method_32306()Lnet/minecraft/class_2539;named getStateLnet/minecraft/network/ClientConnection;getState()Lnet/minecraft/network/NetworkState;
-
sendQueuedPackets
private void sendQueuedPackets()
- Mappings:
Namespace Name Mixin selector official qLnz;q()Vintermediary method_10751Lnet/minecraft/class_2535;method_10751()Vnamed sendQueuedPacketsLnet/minecraft/network/ClientConnection;sendQueuedPackets()V
-
tick
public void tick()
- Mappings:
Namespace Name Mixin selector official aLnz;a()Vintermediary method_10754Lnet/minecraft/class_2535;method_10754()Vnamed tickLnet/minecraft/network/ClientConnection;tick()V
-
updateStats
protected void updateStats()
- Mappings:
Namespace Name Mixin selector official bLnz;b()Vintermediary method_30615Lnet/minecraft/class_2535;method_30615()Vnamed updateStatsLnet/minecraft/network/ClientConnection;updateStats()V
-
getAddress
public SocketAddress getAddress()
- Mappings:
Namespace Name Mixin selector official cLnz;c()Ljava/net/SocketAddress;intermediary method_10755Lnet/minecraft/class_2535;method_10755()Ljava/net/SocketAddress;named getAddressLnet/minecraft/network/ClientConnection;getAddress()Ljava/net/SocketAddress;
-
disconnect
public void disconnect(Text disconnectReason)
- Mappings:
Namespace Name Mixin selector official aLnz;a(Lon;)Vintermediary method_10747Lnet/minecraft/class_2535;method_10747(Lnet/minecraft/class_2561;)Vnamed disconnectLnet/minecraft/network/ClientConnection;disconnect(Lnet/minecraft/text/Text;)V
-
isLocal
public boolean isLocal()
- Mappings:
Namespace Name Mixin selector official dLnz;d()Zintermediary method_10756Lnet/minecraft/class_2535;method_10756()Znamed isLocalLnet/minecraft/network/ClientConnection;isLocal()Z
-
getSide
public NetworkSide getSide()
Returns the side of this connection, or the direction of the packets received by this connection.- Mappings:
Namespace Name Mixin selector official eLnz;e()Lpg;intermediary method_36121Lnet/minecraft/class_2535;method_36121()Lnet/minecraft/class_2598;named getSideLnet/minecraft/network/ClientConnection;getSide()Lnet/minecraft/network/NetworkSide;
-
getOppositeSide
public NetworkSide getOppositeSide()
Returns the opposite side of this connection, or the direction of the packets sent by this connection.- Mappings:
Namespace Name Mixin selector official fLnz;f()Lpg;intermediary method_36122Lnet/minecraft/class_2535;method_36122()Lnet/minecraft/class_2598;named getOppositeSideLnet/minecraft/network/ClientConnection;getOppositeSide()Lnet/minecraft/network/NetworkSide;
-
connect
public static ClientConnection connect(InetAddress address, int port, boolean shouldUseNativeTransport)
- Mappings:
Namespace Name Mixin selector official aLnz;a(Ljava/net/InetAddress;IZ)Lnz;intermediary method_10753Lnet/minecraft/class_2535;method_10753(Ljava/net/InetAddress;IZ)Lnet/minecraft/class_2535;named connectLnet/minecraft/network/ClientConnection;connect(Ljava/net/InetAddress;IZ)Lnet/minecraft/network/ClientConnection;
-
connectLocal
public static ClientConnection connectLocal(SocketAddress address)
- Mappings:
Namespace Name Mixin selector official aLnz;a(Ljava/net/SocketAddress;)Lnz;intermediary method_10769Lnet/minecraft/class_2535;method_10769(Ljava/net/SocketAddress;)Lnet/minecraft/class_2535;named connectLocalLnet/minecraft/network/ClientConnection;connectLocal(Ljava/net/SocketAddress;)Lnet/minecraft/network/ClientConnection;
-
setupEncryption
public void setupEncryption(Cipher cipher, Cipher cipher2)
- Mappings:
Namespace Name Mixin selector official aLnz;a(Ljavax/crypto/Cipher;Ljavax/crypto/Cipher;)Vintermediary method_10746Lnet/minecraft/class_2535;method_10746(Ljavax/crypto/Cipher;Ljavax/crypto/Cipher;)Vnamed setupEncryptionLnet/minecraft/network/ClientConnection;setupEncryption(Ljavax/crypto/Cipher;Ljavax/crypto/Cipher;)V
-
isEncrypted
public boolean isEncrypted()
- Mappings:
Namespace Name Mixin selector official gLnz;g()Zintermediary method_10771Lnet/minecraft/class_2535;method_10771()Znamed isEncryptedLnet/minecraft/network/ClientConnection;isEncrypted()Z
-
isOpen
public boolean isOpen()
- Mappings:
Namespace Name Mixin selector official hLnz;h()Zintermediary method_10758Lnet/minecraft/class_2535;method_10758()Znamed isOpenLnet/minecraft/network/ClientConnection;isOpen()Z
-
hasChannel
public boolean hasChannel()
- Mappings:
Namespace Name Mixin selector official iLnz;i()Zintermediary method_10772Lnet/minecraft/class_2535;method_10772()Znamed hasChannelLnet/minecraft/network/ClientConnection;hasChannel()Z
-
getPacketListener
public PacketListener getPacketListener()
- Mappings:
Namespace Name Mixin selector official jLnz;j()Loe;intermediary method_10744Lnet/minecraft/class_2535;method_10744()Lnet/minecraft/class_2547;named getPacketListenerLnet/minecraft/network/ClientConnection;getPacketListener()Lnet/minecraft/network/listener/PacketListener;
-
getDisconnectReason
@Nullable public @Nullable Text getDisconnectReason()
- Mappings:
Namespace Name Mixin selector official kLnz;k()Lon;intermediary method_10748Lnet/minecraft/class_2535;method_10748()Lnet/minecraft/class_2561;named getDisconnectReasonLnet/minecraft/network/ClientConnection;getDisconnectReason()Lnet/minecraft/text/Text;
-
disableAutoRead
public void disableAutoRead()
- Mappings:
Namespace Name Mixin selector official lLnz;l()Vintermediary method_10757Lnet/minecraft/class_2535;method_10757()Vnamed disableAutoReadLnet/minecraft/network/ClientConnection;disableAutoRead()V
-
setCompressionThreshold
public void setCompressionThreshold(int compressionThreshold)
- Mappings:
Namespace Name Mixin selector official aLnz;a(I)Vintermediary method_10760Lnet/minecraft/class_2535;method_10760(I)Vnamed setCompressionThresholdLnet/minecraft/network/ClientConnection;setCompressionThreshold(I)V
-
handleDisconnection
public void handleDisconnection()
- Mappings:
Namespace Name Mixin selector official mLnz;m()Vintermediary method_10768Lnet/minecraft/class_2535;method_10768()Vnamed handleDisconnectionLnet/minecraft/network/ClientConnection;handleDisconnection()V
-
getAveragePacketsReceived
public float getAveragePacketsReceived()
- Mappings:
Namespace Name Mixin selector official nLnz;n()Fintermediary method_10762Lnet/minecraft/class_2535;method_10762()Fnamed getAveragePacketsReceivedLnet/minecraft/network/ClientConnection;getAveragePacketsReceived()F
-
getAveragePacketsSent
public float getAveragePacketsSent()
- Mappings:
Namespace Name Mixin selector official oLnz;o()Fintermediary method_10745Lnet/minecraft/class_2535;method_10745()Fnamed getAveragePacketsSentLnet/minecraft/network/ClientConnection;getAveragePacketsSent()F
-
-