Uses of Interface
net.minecraft.network.codec.ValueFirstEncoder
-
Uses of ValueFirstEncoder in net.minecraft.network.codec
Modifier and TypeMethodDescriptionstatic <B,
V> PacketCodec <B, V> PacketCodec.of
(ValueFirstEncoder<B, V> encoder, PacketDecoder<B, V> decoder) Returns a packet codec from theencoder
anddecoder
. -
Uses of ValueFirstEncoder in net.minecraft.network.packet
Modifier and TypeMethodDescriptionstatic <B extends ByteBuf,
T extends CustomPayload>
PacketCodec<B, T> CustomPayload.codecOf
(ValueFirstEncoder<B, T> encoder, PacketDecoder<B, T> decoder) static <B extends ByteBuf,
T extends Packet<?>>
PacketCodec<B, T> Packet.createCodec
(ValueFirstEncoder<B, T> encoder, PacketDecoder<B, T> decoder)