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
official yy
intermediary net/minecraft/class_8710
named net/minecraft/network/packet/CustomPayload
  • Method Details

    • getKey

      CustomPayload.Type<? extends CustomPayload> getKey()
      Mappings:
      Namespace Name Mixin selector
      official a Lyy;a()Lyy$b;
      intermediary method_56479 Lnet/minecraft/class_8710;method_56479()Lnet/minecraft/class_8710$class_9154;
      named getKey Lnet/minecraft/network/packet/CustomPayload;getKey()Lnet/minecraft/network/packet/CustomPayload$Type;
    • 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
      official a Lyy;a(Lxr;Lxp;)Lxo;
      intermediary method_56484 Lnet/minecraft/class_8710;method_56484(Lnet/minecraft/class_9143;Lnet/minecraft/class_9141;)Lnet/minecraft/class_9139;
      named codecOf Lnet/minecraft/network/packet/CustomPayload;codecOf(Lnet/minecraft/network/codec/ValueFirstEncoder;Lnet/minecraft/network/codec/PacketDecoder;)Lnet/minecraft/network/codec/PacketCodec;
    • keyOf

      static <T extends CustomPayload> CustomPayload.Type<T> keyOf(String id)
      Mappings:
      Namespace Name Mixin selector
      official a Lyy;a(Ljava/lang/String;)Lyy$b;
      intermediary method_56483 Lnet/minecraft/class_8710;method_56483(Ljava/lang/String;)Lnet/minecraft/class_8710$class_9154;
      named keyOf Lnet/minecraft/network/packet/CustomPayload;keyOf(Ljava/lang/String;)Lnet/minecraft/network/packet/CustomPayload$Type;
    • createCodec

      static <B extends PacketByteBuf> PacketCodec<B,CustomPayload> createCodec(CustomPayload.CodecFactory<B> factory, List<CustomPayload.CodecPair<? super B,?>> codecs)
      Mappings:
      Namespace Name Mixin selector
      official a Lyy;a(Lyy$a;Ljava/util/List;)Lxo;
      intermediary method_56485 Lnet/minecraft/class_8710;method_56485(Lnet/minecraft/class_8710$class_9153;Ljava/util/List;)Lnet/minecraft/class_9139;
      named createCodec Lnet/minecraft/network/packet/CustomPayload;createCodec(Lnet/minecraft/network/packet/CustomPayload$CodecFactory;Ljava/util/List;)Lnet/minecraft/network/codec/PacketCodec;