Package net.minecraft.network.codec
Interface PacketDecoder<I,T>
- All Known Subinterfaces:
PacketCodec<B,
V>
- All Known Implementing Classes:
PacketCodecDispatcher
- 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 buffer, decodes a value.
A constructor taking PacketByteBuf
as an
argument can be used as a decoder.
- See Also:
- Mappings:
Namespace Name named net/minecraft/network/codec/PacketDecoder
intermediary net/minecraft/class_9141
official zu
-
Method Summary
-
Method Details
-
decode
- Mappings:
Namespace Name Mixin selector named decode
Lnet/minecraft/network/codec/PacketDecoder;decode(Ljava/lang/Object;)Ljava/lang/Object;
intermediary decode
Lnet/minecraft/class_9141;decode(Ljava/lang/Object;)Ljava/lang/Object;
official decode
Lzu;decode(Ljava/lang/Object;)Ljava/lang/Object;
-