Package net.minecraft.network.handler
Class PacketUnbundler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelOutboundHandlerAdapter
io.netty.handler.codec.MessageToMessageEncoder<Packet<?>>
net.minecraft.network.handler.PacketUnbundler
- All Implemented Interfaces:
ChannelHandler
,ChannelOutboundHandler
- Mappings:
Namespace Name official uk
intermediary net/minecraft/class_8036
named net/minecraft/network/handler/PacketUnbundler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
Field Summary
Modifier and TypeFieldDescriptionprivate final AttributeKey<? extends PacketBundleHandler.BundlerGetter>
-
Constructor Summary
ConstructorDescriptionPacketUnbundler
(AttributeKey<? extends PacketBundleHandler.BundlerGetter> protocolKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
encode
(ChannelHandlerContext channelHandlerContext, Packet<?> packet, List<Object> list) Methods inherited from class io.netty.handler.codec.MessageToMessageEncoder
acceptOutboundMessage, write
Methods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, read
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty.channel.ChannelHandler
exceptionCaught, handlerAdded, handlerRemoved
-
Field Details
-
protocolKey
- Mappings:
Namespace Name Mixin selector official a
Luk;a:Lio/netty/util/AttributeKey;
intermediary field_45676
Lnet/minecraft/class_8036;field_45676:Lio/netty/util/AttributeKey;
named protocolKey
Lnet/minecraft/network/handler/PacketUnbundler;protocolKey:Lio/netty/util/AttributeKey;
-
-
Constructor Details
-
PacketUnbundler
- Mappings:
Namespace Name Mixin selector official <init>
Luk;<init>(Lio/netty/util/AttributeKey;)V
intermediary <init>
Lnet/minecraft/class_8036;<init>(Lio/netty/util/AttributeKey;)V
named <init>
Lnet/minecraft/network/handler/PacketUnbundler;<init>(Lio/netty/util/AttributeKey;)V
-
-
Method Details
-
encode
protected void encode(ChannelHandlerContext channelHandlerContext, Packet<?> packet, List<Object> list) throws Exception - Specified by:
encode
in classMessageToMessageEncoder<Packet<?>>
- Throws:
Exception
- Mappings:
Namespace Name Mixin selector official a
Luk;a(Lio/netty/channel/ChannelHandlerContext;Lxf;Ljava/util/List;)V
intermediary method_48319
Lnet/minecraft/class_8036;method_48319(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/class_2596;Ljava/util/List;)V
named encode
Lnet/minecraft/network/handler/PacketUnbundler;encode(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/network/packet/Packet;Ljava/util/List;)V
-