2024-01-17 14:51:34 -05:00
|
|
|
CLASS net/minecraft/class_9142 net/minecraft/network/codec/PacketEncoder
|
2024-01-19 22:06:48 -05:00
|
|
|
COMMENT A functional interface that, given a buffer and a value, encodes it.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>A static method taking {@link net.minecraft.network.PacketByteBuf} and the
|
|
|
|
COMMENT value as the arguments can be used as an encoder.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see PacketDecoder
|
|
|
|
COMMENT @see ValueFirstEncoder
|
2024-01-17 14:51:34 -05:00
|
|
|
METHOD encode (Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
ARG 1 buf
|
|
|
|
ARG 2 value
|