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 sjintermediary net/minecraft/class_8036named net/minecraft/network/handler/PacketUnbundler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AttributeKey<? extends PacketBundleHandler.BundlerGetter> -
Constructor Summary
ConstructorsConstructorDescriptionPacketUnbundler(AttributeKey<? extends PacketBundleHandler.BundlerGetter> protocolKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidencode(ChannelHandlerContext channelHandlerContext, Packet<?> packet, List<Object> list) Methods inherited from class io.netty.handler.codec.MessageToMessageEncoder
acceptOutboundMessage, writeMethods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, readMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, 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
exceptionCaught, handlerAdded, handlerRemoved
-
Field Details
-
protocolKey
- Mappings:
Namespace Name Mixin selector official aLsj;a:Lio/netty/util/AttributeKey;intermediary field_45676Lnet/minecraft/class_8036;field_45676:Lio/netty/util/AttributeKey;named protocolKeyLnet/minecraft/network/handler/PacketUnbundler;protocolKey:Lio/netty/util/AttributeKey;
-
-
Constructor Details
-
PacketUnbundler
- Mappings:
Namespace Name Mixin selector official <init>Lsj;<init>(Lio/netty/util/AttributeKey;)Vintermediary <init>Lnet/minecraft/class_8036;<init>(Lio/netty/util/AttributeKey;)Vnamed <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:
encodein classMessageToMessageEncoder<Packet<?>>- Throws:
Exception- Mappings:
Namespace Name Mixin selector official aLsj;a(Lio/netty/channel/ChannelHandlerContext;Luw;Ljava/util/List;)Vintermediary method_48319Lnet/minecraft/class_8036;method_48319(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/class_2596;Ljava/util/List;)Vnamed encodeLnet/minecraft/network/handler/PacketUnbundler;encode(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/network/packet/Packet;Ljava/util/List;)V
-