Package net.minecraft.network.codec
Interface ValueFirstEncoder<O,T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface that, given a value and a buffer, encodes it.
An instance method taking PacketByteBuf
as an
argument can be used as a value-first encoder.
- See Also:
- Mappings:
Namespace Name named net/minecraft/network/codec/ValueFirstEncoder
intermediary net/minecraft/class_9143
official zw
-
Method Summary
-
Method Details
-
encode
- Mappings:
Namespace Name Mixin selector named encode
Lnet/minecraft/network/codec/ValueFirstEncoder;encode(Ljava/lang/Object;Ljava/lang/Object;)V
intermediary encode
Lnet/minecraft/class_9143;encode(Ljava/lang/Object;Ljava/lang/Object;)V
official encode
Lzw;encode(Ljava/lang/Object;Ljava/lang/Object;)V
-