Package net.minecraft.network.handler
Class EncoderHandler<T extends PacketListener>
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelOutboundHandlerAdapter
io.netty.handler.codec.MessageToByteEncoder<Packet<T>>
net.minecraft.network.handler.EncoderHandler<T>
- All Implemented Interfaces:
ChannelHandler
,ChannelOutboundHandler
- Mappings:
Namespace Name named net/minecraft/network/handler/EncoderHandler
intermediary net/minecraft/class_2545
official vz
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
encode
(ChannelHandlerContext channelHandlerContext, Packet<T> packet, ByteBuf byteBuf) Methods inherited from class io.netty.handler.codec.MessageToByteEncoder
acceptOutboundMessage, allocateBuffer, isPreferDirect, 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
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/network/handler/EncoderHandler;LOGGER:Lorg/slf4j/Logger;
intermediary field_11721
Lnet/minecraft/class_2545;field_11721:Lorg/slf4j/Logger;
official a
Lvz;a:Lorg/slf4j/Logger;
-
state
- Mappings:
Namespace Name Mixin selector named state
Lnet/minecraft/network/handler/EncoderHandler;state:Lnet/minecraft/network/NetworkState;
intermediary field_48537
Lnet/minecraft/class_2545;field_48537:Lnet/minecraft/class_9127;
official b
Lvz;b:Lwc;
-
-
Constructor Details
-
EncoderHandler
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/handler/EncoderHandler;<init>(Lnet/minecraft/network/NetworkState;)V
intermediary <init>
Lnet/minecraft/class_2545;<init>(Lnet/minecraft/class_9127;)V
official <init>
Lvz;<init>(Lwc;)V
-
-
Method Details
-
encode
protected void encode(ChannelHandlerContext channelHandlerContext, Packet<T> packet, ByteBuf byteBuf) throws Exception - Specified by:
encode
in classMessageToByteEncoder<Packet<T extends PacketListener>>
- Throws:
Exception
- Mappings:
Namespace Name Mixin selector named encode
Lnet/minecraft/network/handler/EncoderHandler;encode(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/network/packet/Packet;Lio/netty/buffer/ByteBuf;)V
intermediary method_10838
Lnet/minecraft/class_2545;method_10838(Lio/netty/channel/ChannelHandlerContext;Lnet/minecraft/class_2596;Lio/netty/buffer/ByteBuf;)V
official a
Lvz;a(Lio/netty/channel/ChannelHandlerContext;Lzb;Lio/netty/buffer/ByteBuf;)V
-