mirror of https://github.com/FabricMC/yarn.git
12 lines
456 B
Plaintext
12 lines
456 B
Plaintext
CLASS net/minecraft/class_9142 net/minecraft/network/codec/PacketEncoder
|
|
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
|
|
METHOD encode (Ljava/lang/Object;Ljava/lang/Object;)V
|
|
ARG 1 buf
|
|
ARG 2 value
|