net.minecraft.network.protocol.common.custom

public interface CustomPacketPayload

abf
net.minecraft.network.protocol.common.custom.CustomPacketPayload
net.minecraft.class_8710
net.minecraft.network.packet.CustomPayload
net.minecraft.network.protocol.common.custom.CustomPacketPayload

Method summary

Modifier and TypeMethod
CustomPacketPayload$Type<? extends CustomPacketPayload>
a()
type()
method_56479()
getId()
static <B extends io.netty.buffer.ByteBuf, T extends CustomPacketPayload> StreamCodec<B, T>
a(zw<B, T> arg0, zu<B, T> arg1)
codec(StreamMemberEncoder<B, T> arg0, StreamDecoder<B, T> arg1)
method_56484(class_9143<B, T> arg0, class_9141<B, T> arg1)
codecOf(ValueFirstEncoder<B, T> encoder, PacketDecoder<B, T> decoder)
static <T extends CustomPacketPayload> CustomPacketPayload$Type<T>
a(String arg0)
createType(String arg0)
method_56483(String arg0)
id(String id)
static <B extends FriendlyByteBuf> StreamCodec<B, CustomPacketPayload>
a(abf$a<B> arg0, List<abf$c<? super B, ?>> arg1)
codec(CustomPacketPayload$FallbackProvider<B> arg0, List<CustomPacketPayload$TypeAndCodec<? super B, ?>> arg1)
method_56485(class_8710$class_9153<B> arg0, List<class_8710$class_9155<? super B, ?>> arg1)
createCodec(CustomPayload$CodecFactory<B> unknownCodecFactory, List<CustomPayload$Type<? super B, ?>> types)