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/CustomPayload
intermediary net/minecraft/class_8710
official aac
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
CustomPayload.CodecFactory<B extends PacketByteBuf>
static final record
CustomPayload.Id<T extends CustomPayload>
static final record
CustomPayload.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 getId
Lnet/minecraft/network/packet/CustomPayload;getId()Lnet/minecraft/network/packet/CustomPayload$Id;
intermediary method_56479
Lnet/minecraft/class_8710;method_56479()Lnet/minecraft/class_8710$class_9154;
official a
Laac;a()Laac$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 codecOf
Lnet/minecraft/network/packet/CustomPayload;codecOf(Lnet/minecraft/network/codec/ValueFirstEncoder;Lnet/minecraft/network/codec/PacketDecoder;)Lnet/minecraft/network/codec/PacketCodec;
intermediary method_56484
Lnet/minecraft/class_8710;method_56484(Lnet/minecraft/class_9143;Lnet/minecraft/class_9141;)Lnet/minecraft/class_9139;
official a
Laac;a(Lyv;Lyt;)Lys;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/network/packet/CustomPayload;id(Ljava/lang/String;)Lnet/minecraft/network/packet/CustomPayload$Id;
intermediary method_56483
Lnet/minecraft/class_8710;method_56483(Ljava/lang/String;)Lnet/minecraft/class_8710$class_9154;
official a
Laac;a(Ljava/lang/String;)Laac$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 createCodec
Lnet/minecraft/network/packet/CustomPayload;createCodec(Lnet/minecraft/network/packet/CustomPayload$CodecFactory;Ljava/util/List;)Lnet/minecraft/network/codec/PacketCodec;
intermediary method_56485
Lnet/minecraft/class_8710;method_56485(Lnet/minecraft/class_8710$class_9153;Ljava/util/List;)Lnet/minecraft/class_9139;
official a
Laac;a(Laac$a;Ljava/util/List;)Lys;
-