Package net.minecraft.network.handler
Class PacketBundler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.codec.MessageToMessageDecoder<Packet<?>>
net.minecraft.network.handler.PacketBundler
- All Implemented Interfaces:
ChannelHandler,ChannelInboundHandler
- Mappings:
Namespace Name official siintermediary net/minecraft/class_8035named net/minecraft/network/handler/PacketBundler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable PacketBundleHandlerprivate PacketBundleHandler.Bundlerprivate final AttributeKey<? extends PacketBundleHandler.BundlerGetter> -
Constructor Summary
ConstructorsConstructorDescriptionPacketBundler(AttributeKey<? extends PacketBundleHandler.BundlerGetter> protocolKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddecode(ChannelHandlerContext channelHandlerContext, Packet<?> packet, List<Object> list) Methods inherited from class io.netty.handler.codec.MessageToMessageDecoder
acceptInboundMessage, channelReadMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, 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
-
currentBundler
- Mappings:
Namespace Name Mixin selector official aLsi;a:Luv$a;intermediary field_41869Lnet/minecraft/class_8035;field_41869:Lnet/minecraft/class_8039$class_8040;named currentBundlerLnet/minecraft/network/handler/PacketBundler;currentBundler:Lnet/minecraft/network/handler/PacketBundleHandler$Bundler;
-
bundleHandler
- Mappings:
Namespace Name Mixin selector official bLsi;b:Luv;intermediary field_41870Lnet/minecraft/class_8035;field_41870:Lnet/minecraft/class_8039;named bundleHandlerLnet/minecraft/network/handler/PacketBundler;bundleHandler:Lnet/minecraft/network/handler/PacketBundleHandler;
-
protocolKey
- Mappings:
Namespace Name Mixin selector official cLsi;c:Lio/netty/util/AttributeKey;intermediary field_45675Lnet/minecraft/class_8035;field_45675:Lio/netty/util/AttributeKey;named protocolKeyLnet/minecraft/network/handler/PacketBundler;protocolKey:Lio/netty/util/AttributeKey;
-
-
Constructor Details
-
PacketBundler
- Mappings:
Namespace Name Mixin selector official <init>Lsi;<init>(Lio/netty/util/AttributeKey;)Vintermediary <init>Lnet/minecraft/class_8035;<init>(Lio/netty/util/AttributeKey;)Vnamed <init>Lnet/minecraft/network/handler/PacketBundler;<init>(Lio/netty/util/AttributeKey;)V
-
-
Method Details
-
decode
protected void decode(ChannelHandlerContext channelHandlerContext, Packet<?> packet, List<Object> list) throws Exception - Specified by:
decodein classMessageToMessageDecoder<Packet<?>>- Throws:
Exception- Mappings:
Namespace Name Mixin selector official aLsi;a(Lio/netty/channel/ChannelHandlerContext;Luw;Ljava/util/List;)Vintermediary method_48318Lnet/minecraft/class_8035;method_48318(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/class_2596;Ljava/util/List;)Vnamed decodeLnet/minecraft/network/handler/PacketBundler;decode(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/network/packet/Packet;Ljava/util/List;)V
-