Package net.minecraft.network.packet
Interface CustomPayload
- All Known Implementing Classes:
BrandCustomPayload,DebugBeeCustomPayload,DebugBrainCustomPayload,DebugBreezeCustomPayload,DebugGameEventCustomPayload,DebugGameEventListenersCustomPayload,DebugGameTestAddMarkerCustomPayload,DebugGameTestClearCustomPayload,DebugGoalSelectorCustomPayload,DebugHiveCustomPayload,DebugNeighborsUpdateCustomPayload,DebugPathCustomPayload,DebugPoiAddedCustomPayload,DebugPoiRemovedCustomPayload,DebugPoiTicketCountCustomPayload,DebugRaidsCustomPayload,DebugStructuresCustomPayload,DebugVillageSectionsCustomPayload,DebugWorldgenAttemptCustomPayload,UnknownCustomPayload
public interface CustomPayload
- Mappings:
Namespace Name named net/minecraft/network/packet/CustomPayloadintermediary net/minecraft/class_8710official aaj
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceCustomPayload.CodecFactory<B extends PacketByteBuf>static final recordCustomPayload.Id<T extends CustomPayload>static final recordCustomPayload.Type<B extends PacketByteBuf,T extends CustomPayload> -
Method Summary
Modifier and TypeMethodDescriptionstatic <B extends ByteBuf,T extends CustomPayload>
PacketCodec<B, T> codecOf(ValueFirstEncoder<B, T> encoder, PacketDecoder<B, T> decoder) static <B extends PacketByteBuf>
PacketCodec<B, CustomPayload> createCodec(CustomPayload.CodecFactory<B> unknownCodecFactory, List<CustomPayload.Type<? super B, ?>> types) CustomPayload.Id<? extends CustomPayload> getId()static <T extends CustomPayload>
CustomPayload.Id<T>
-
Method Details
-
getId
CustomPayload.Id<? extends CustomPayload> getId()- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/network/packet/CustomPayload;getId()Lnet/minecraft/network/packet/CustomPayload$Id;intermediary method_56479Lnet/minecraft/class_8710;method_56479()Lnet/minecraft/class_8710$class_9154;official aLaaj;a()Laaj$b;
-
codecOf
static <B extends ByteBuf,T extends CustomPayload> PacketCodec<B,T> codecOf(ValueFirstEncoder<B, T> encoder, PacketDecoder<B, T> decoder) - Mappings:
Namespace Name Mixin selector named codecOfLnet/minecraft/network/packet/CustomPayload;codecOf(Lnet/minecraft/network/codec/ValueFirstEncoder;Lnet/minecraft/network/codec/PacketDecoder;)Lnet/minecraft/network/codec/PacketCodec;intermediary method_56484Lnet/minecraft/class_8710;method_56484(Lnet/minecraft/class_9143;Lnet/minecraft/class_9141;)Lnet/minecraft/class_9139;official aLaaj;a(Lza;Lyy;)Lyx;
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/network/packet/CustomPayload;id(Ljava/lang/String;)Lnet/minecraft/network/packet/CustomPayload$Id;intermediary method_56483Lnet/minecraft/class_8710;method_56483(Ljava/lang/String;)Lnet/minecraft/class_8710$class_9154;official aLaaj;a(Ljava/lang/String;)Laaj$b;
-
createCodec
static <B extends PacketByteBuf> PacketCodec<B,CustomPayload> createCodec(CustomPayload.CodecFactory<B> unknownCodecFactory, List<CustomPayload.Type<? super B, ?>> types) - Mappings:
Namespace Name Mixin selector named createCodecLnet/minecraft/network/packet/CustomPayload;createCodec(Lnet/minecraft/network/packet/CustomPayload$CodecFactory;Ljava/util/List;)Lnet/minecraft/network/codec/PacketCodec;intermediary method_56485Lnet/minecraft/class_8710;method_56485(Lnet/minecraft/class_8710$class_9153;Ljava/util/List;)Lnet/minecraft/class_9139;official aLaaj;a(Laaj$a;Ljava/util/List;)Lyx;
-