Package net.minecraft.network
Class ClientConnection
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler
net.minecraft.network.ClientConnection
- All Implemented Interfaces:
ChannelHandler,ChannelInboundHandler
- Mappings:
Namespace Name official efintermediary net/minecraft/class_1957named net/minecraft/network/ClientConnection
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SocketAddressstatic final AttributeKeyprivate Channelstatic final AttributeKeystatic final AttributeKeystatic final NioEventLoopGroupprivate final booleanprivate final Queueprivate PacketListenerprivate NetworkStateprivate Textprivate static final Loggerstatic final Markerstatic final Marker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchannelActive(ChannelHandlerContext channelHandlerContext) voidchannelInactive(ChannelHandlerContext channelHandlerContext) protected voidchannelRead0(ChannelHandlerContext channelHandlerContext, Packet packet) static ClientConnectionconnectLocal(SocketAddress address) voidvoiddisconnect(Text disconnectReason) voidexceptionCaught(ChannelHandlerContext channelHandlerContext, Throwable throwable) booleanisLocal()booleanisOpen()voidmethod_7395(Packet packet, GenericFutureListener[] genericFutureListener) static ClientConnectionmethod_7397(InetAddress inetAddress, int int2) voidsetPacketListener(PacketListener listener) voidsetState(NetworkState state) voidsetupEncryption(SecretKey secretKey) voidtick()Methods inherited from class io.netty.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelRead, channelRead0Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official gLef;g:Lorg/apache/logging/log4j/Logger;intermediary field_8426Lnet/minecraft/class_1957;field_8426:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/network/ClientConnection;LOGGER:Lorg/apache/logging/log4j/Logger;
-
MARKER_NETWORK
- Mappings:
Namespace Name Mixin selector official aLef;a:Lorg/apache/logging/log4j/Marker;intermediary field_8418Lnet/minecraft/class_1957;field_8418:Lorg/apache/logging/log4j/Marker;named MARKER_NETWORKLnet/minecraft/network/ClientConnection;MARKER_NETWORK:Lorg/apache/logging/log4j/Marker;
-
MARKER_NETWORK_PACKETS
- Mappings:
Namespace Name Mixin selector official bLef;b:Lorg/apache/logging/log4j/Marker;intermediary field_8419Lnet/minecraft/class_1957;field_8419:Lorg/apache/logging/log4j/Marker;named MARKER_NETWORK_PACKETSLnet/minecraft/network/ClientConnection;MARKER_NETWORK_PACKETS:Lorg/apache/logging/log4j/Marker;
-
ATTR_KEY_PROTOCOL
- Mappings:
Namespace Name Mixin selector official cLef;c:Lio/netty/util/AttributeKey;intermediary field_8421Lnet/minecraft/class_1957;field_8421:Lio/netty/util/AttributeKey;named ATTR_KEY_PROTOCOLLnet/minecraft/network/ClientConnection;ATTR_KEY_PROTOCOL:Lio/netty/util/AttributeKey;
-
field_8422
- Mappings:
Namespace Name Mixin selector official dLef;d:Lio/netty/util/AttributeKey;intermediary field_8422Lnet/minecraft/class_1957;field_8422:Lio/netty/util/AttributeKey;named field_8422Lnet/minecraft/network/ClientConnection;field_8422:Lio/netty/util/AttributeKey;
-
field_8423
- Mappings:
Namespace Name Mixin selector official eLef;e:Lio/netty/util/AttributeKey;intermediary field_8423Lnet/minecraft/class_1957;field_8423:Lio/netty/util/AttributeKey;named field_8423Lnet/minecraft/network/ClientConnection;field_8423:Lio/netty/util/AttributeKey;
-
field_8424
- Mappings:
Namespace Name Mixin selector official fLef;f:Lio/netty/channel/nio/NioEventLoopGroup;intermediary field_8424Lnet/minecraft/class_1957;field_8424:Lio/netty/channel/nio/NioEventLoopGroup;named field_8424Lnet/minecraft/network/ClientConnection;field_8424:Lio/netty/channel/nio/NioEventLoopGroup;
-
field_8427
private final boolean field_8427- Mappings:
Namespace Name Mixin selector official hLef;h:Zintermediary field_8427Lnet/minecraft/class_1957;field_8427:Znamed field_8427Lnet/minecraft/network/ClientConnection;field_8427:Z
-
field_8428
- Mappings:
Namespace Name Mixin selector official iLef;i:Ljava/util/Queue;intermediary field_8428Lnet/minecraft/class_1957;field_8428:Ljava/util/Queue;named field_8428Lnet/minecraft/network/ClientConnection;field_8428:Ljava/util/Queue;
-
channel
- Mappings:
Namespace Name Mixin selector official jLef;j:Lio/netty/channel/Channel;intermediary field_8430Lnet/minecraft/class_1957;field_8430:Lio/netty/channel/Channel;named channelLnet/minecraft/network/ClientConnection;channel:Lio/netty/channel/Channel;
-
address
- Mappings:
Namespace Name Mixin selector official kLef;k:Ljava/net/SocketAddress;intermediary field_8431Lnet/minecraft/class_1957;field_8431:Ljava/net/SocketAddress;named addressLnet/minecraft/network/ClientConnection;address:Ljava/net/SocketAddress;
-
field_8432
- Mappings:
Namespace Name Mixin selector official lLef;l:Ler;intermediary field_8432Lnet/minecraft/class_1957;field_8432:Lnet/minecraft/class_701;named field_8432Lnet/minecraft/network/ClientConnection;field_8432:Lnet/minecraft/network/listener/PacketListener;
-
field_8433
- Mappings:
Namespace Name Mixin selector official mLef;m:Lej;intermediary field_8433Lnet/minecraft/class_1957;field_8433:Lnet/minecraft/class_1962;named field_8433Lnet/minecraft/network/ClientConnection;field_8433:Lnet/minecraft/network/NetworkState;
-
field_8434
- Mappings:
Namespace Name Mixin selector official nLef;n:Lez;intermediary field_8434Lnet/minecraft/class_1957;field_8434:Lnet/minecraft/class_1982;named field_8434Lnet/minecraft/network/ClientConnection;field_8434:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
ClientConnection
public ClientConnection(boolean bool)
-
-
Method Details
-
channelActive
- Specified by:
channelActivein interfaceChannelInboundHandler- Overrides:
channelActivein classChannelInboundHandlerAdapter- Mappings:
Namespace Name Mixin selector official channelActiveLef;channelActive(Lio/netty/channel/ChannelHandlerContext;)Vintermediary channelActiveLnet/minecraft/class_1957;channelActive(Lio/netty/channel/ChannelHandlerContext;)Vnamed channelActiveLnet/minecraft/network/ClientConnection;channelActive(Lio/netty/channel/ChannelHandlerContext;)V
-
setState
- Mappings:
Namespace Name Mixin selector official aLef;a(Lej;)Vintermediary method_7392Lnet/minecraft/class_1957;method_7392(Lnet/minecraft/class_1962;)Vnamed setStateLnet/minecraft/network/ClientConnection;setState(Lnet/minecraft/network/NetworkState;)V
-
channelInactive
- Specified by:
channelInactivein interfaceChannelInboundHandler- Overrides:
channelInactivein classChannelInboundHandlerAdapter- Mappings:
Namespace Name Mixin selector official channelInactiveLef;channelInactive(Lio/netty/channel/ChannelHandlerContext;)Vintermediary channelInactiveLnet/minecraft/class_1957;channelInactive(Lio/netty/channel/ChannelHandlerContext;)Vnamed channelInactiveLnet/minecraft/network/ClientConnection;channelInactive(Lio/netty/channel/ChannelHandlerContext;)V
-
exceptionCaught
- Specified by:
exceptionCaughtin interfaceChannelHandler- Specified by:
exceptionCaughtin interfaceChannelInboundHandler- Overrides:
exceptionCaughtin classChannelInboundHandlerAdapter- Mappings:
Namespace Name Mixin selector official exceptionCaughtLef;exceptionCaught(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)Vintermediary exceptionCaughtLnet/minecraft/class_1957;exceptionCaught(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)Vnamed exceptionCaughtLnet/minecraft/network/ClientConnection;exceptionCaught(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V
-
channelRead0
- Mappings:
Namespace Name Mixin selector official aLef;a(Lio/netty/channel/ChannelHandlerContext;Lfj;)Vintermediary method_7396Lnet/minecraft/class_1957;method_7396(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/class_700;)Vnamed channelRead0Lnet/minecraft/network/ClientConnection;channelRead0(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/network/Packet;)V
-
setPacketListener
- Mappings:
Namespace Name Mixin selector official aLef;a(Ler;)Vintermediary method_7393Lnet/minecraft/class_1957;method_7393(Lnet/minecraft/class_701;)Vnamed setPacketListenerLnet/minecraft/network/ClientConnection;setPacketListener(Lnet/minecraft/network/listener/PacketListener;)V
-
method_7395
- Mappings:
Namespace Name Mixin selector official aLef;a(Lfj;[Lio/netty/util/concurrent/GenericFutureListener;)Vintermediary method_7395Lnet/minecraft/class_1957;method_7395(Lnet/minecraft/class_700;[Lio/netty/util/concurrent/GenericFutureListener;)Vnamed method_7395Lnet/minecraft/network/ClientConnection;method_7395(Lnet/minecraft/network/Packet;[Lio/netty/util/concurrent/GenericFutureListener;)V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official aLef;a()Vintermediary method_7390Lnet/minecraft/class_1957;method_7390()Vnamed tickLnet/minecraft/network/ClientConnection;tick()V
-
getAddress
- Mappings:
Namespace Name Mixin selector official bLef;b()Ljava/net/SocketAddress;intermediary method_7400Lnet/minecraft/class_1957;method_7400()Ljava/net/SocketAddress;named getAddressLnet/minecraft/network/ClientConnection;getAddress()Ljava/net/SocketAddress;
-
disconnect
- Mappings:
Namespace Name Mixin selector official aLef;a(Lez;)Vintermediary method_7394Lnet/minecraft/class_1957;method_7394(Lnet/minecraft/class_1982;)Vnamed disconnectLnet/minecraft/network/ClientConnection;disconnect(Lnet/minecraft/text/Text;)V
-
isLocal
public boolean isLocal()- Mappings:
Namespace Name Mixin selector official cLef;c()Zintermediary method_7402Lnet/minecraft/class_1957;method_7402()Znamed isLocalLnet/minecraft/network/ClientConnection;isLocal()Z
-
method_7397
- Mappings:
Namespace Name Mixin selector official aLef;a(Ljava/net/InetAddress;I)Lef;intermediary method_7397Lnet/minecraft/class_1957;method_7397(Ljava/net/InetAddress;I)Lnet/minecraft/class_1957;named method_7397Lnet/minecraft/network/ClientConnection;method_7397(Ljava/net/InetAddress;I)Lnet/minecraft/network/ClientConnection;
-
connectLocal
- Mappings:
Namespace Name Mixin selector official aLef;a(Ljava/net/SocketAddress;)Lef;intermediary method_7398Lnet/minecraft/class_1957;method_7398(Ljava/net/SocketAddress;)Lnet/minecraft/class_1957;named connectLocalLnet/minecraft/network/ClientConnection;connectLocal(Ljava/net/SocketAddress;)Lnet/minecraft/network/ClientConnection;
-
setupEncryption
- Mappings:
Namespace Name Mixin selector official aLef;a(Ljavax/crypto/SecretKey;)Vintermediary method_7399Lnet/minecraft/class_1957;method_7399(Ljavax/crypto/SecretKey;)Vnamed setupEncryptionLnet/minecraft/network/ClientConnection;setupEncryption(Ljavax/crypto/SecretKey;)V
-
isOpen
public boolean isOpen()- Mappings:
Namespace Name Mixin selector official dLef;d()Zintermediary method_7403Lnet/minecraft/class_1957;method_7403()Znamed isOpenLnet/minecraft/network/ClientConnection;isOpen()Z
-
getPacketListener
- Mappings:
Namespace Name Mixin selector official eLef;e()Ler;intermediary method_7404Lnet/minecraft/class_1957;method_7404()Lnet/minecraft/class_701;named getPacketListenerLnet/minecraft/network/ClientConnection;getPacketListener()Lnet/minecraft/network/listener/PacketListener;
-
getDisconnectReason
- Mappings:
Namespace Name Mixin selector official fLef;f()Lez;intermediary method_7405Lnet/minecraft/class_1957;method_7405()Lnet/minecraft/class_1982;named getDisconnectReasonLnet/minecraft/network/ClientConnection;getDisconnectReason()Lnet/minecraft/text/Text;
-
disableAutoRead
public void disableAutoRead()- Mappings:
Namespace Name Mixin selector official gLef;g()Vintermediary method_7406Lnet/minecraft/class_1957;method_7406()Vnamed disableAutoReadLnet/minecraft/network/ClientConnection;disableAutoRead()V
-