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 sp
intermediary net/minecraft/class_8035
named net/minecraft/network/handler/PacketBundler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
Field Summary
Modifier and TypeFieldDescriptionprivate @Nullable PacketBundleHandler
private PacketBundleHandler.Bundler
private final AttributeKey<? extends PacketBundleHandler.BundlerGetter>
-
Constructor Summary
ConstructorDescriptionPacketBundler
(AttributeKey<? extends PacketBundleHandler.BundlerGetter> protocolKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
decode
(ChannelHandlerContext channelHandlerContext, Packet<?> packet, List<Object> list) Methods inherited from class io.netty.handler.codec.MessageToMessageDecoder
acceptInboundMessage, channelRead
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, 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
handlerAdded, handlerRemoved
-
Field Details
-
currentBundler
- Mappings:
Namespace Name Mixin selector official a
Lsp;a:Lvc$a;
intermediary field_41869
Lnet/minecraft/class_8035;field_41869:Lnet/minecraft/class_8039$class_8040;
named currentBundler
Lnet/minecraft/network/handler/PacketBundler;currentBundler:Lnet/minecraft/network/handler/PacketBundleHandler$Bundler;
-
bundleHandler
- Mappings:
Namespace Name Mixin selector official b
Lsp;b:Lvc;
intermediary field_41870
Lnet/minecraft/class_8035;field_41870:Lnet/minecraft/class_8039;
named bundleHandler
Lnet/minecraft/network/handler/PacketBundler;bundleHandler:Lnet/minecraft/network/handler/PacketBundleHandler;
-
protocolKey
- Mappings:
Namespace Name Mixin selector official c
Lsp;c:Lio/netty/util/AttributeKey;
intermediary field_45675
Lnet/minecraft/class_8035;field_45675:Lio/netty/util/AttributeKey;
named protocolKey
Lnet/minecraft/network/handler/PacketBundler;protocolKey:Lio/netty/util/AttributeKey;
-
-
Constructor Details
-
PacketBundler
- Mappings:
Namespace Name Mixin selector official <init>
Lsp;<init>(Lio/netty/util/AttributeKey;)V
intermediary <init>
Lnet/minecraft/class_8035;<init>(Lio/netty/util/AttributeKey;)V
named <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:
decode
in classMessageToMessageDecoder<Packet<?>>
- Throws:
Exception
- Mappings:
Namespace Name Mixin selector official a
Lsp;a(Lio/netty/channel/ChannelHandlerContext;Lvd;Ljava/util/List;)V
intermediary method_48318
Lnet/minecraft/class_8035;method_48318(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/class_2596;Ljava/util/List;)V
named decode
Lnet/minecraft/network/handler/PacketBundler;decode(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/network/packet/Packet;Ljava/util/List;)V
-