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 aaj
  • 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 Laaj;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 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 Laaj;a(Lza;Lyy;)Lyx;
    • id

      static <T extends CustomPayload> CustomPayload.Id<T> id(String 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 Laaj;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 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 Laaj;a(Laaj$a;Ljava/util/List;)Lyx;