Class SideValidatingDispatchingCodecBuilder<B extends ByteBuf,L extends PacketListener>

java.lang.Object
net.minecraft.network.handler.SideValidatingDispatchingCodecBuilder<B,L>

public class SideValidatingDispatchingCodecBuilder<B extends ByteBuf,L extends PacketListener> extends Object
Mappings:
Namespace Name
named net/minecraft/network/handler/SideValidatingDispatchingCodecBuilder
intermediary net/minecraft/class_9146
official aag
  • Field Details

    • backingBuilder

      private final PacketCodecDispatcher.Builder<B extends ByteBuf,Packet<? super L extends PacketListener>,PacketType<? extends Packet<? super L extends PacketListener>>> backingBuilder
      Mappings:
      Namespace Name Mixin selector
      named backingBuilder Lnet/minecraft/network/handler/SideValidatingDispatchingCodecBuilder;backingBuilder:Lnet/minecraft/network/handler/PacketCodecDispatcher$Builder;
      intermediary field_48614 Lnet/minecraft/class_9146;field_48614:Lnet/minecraft/class_9136$class_9137;
      official a Laag;a:Lzs$a;
    • side

      private final NetworkSide side
      Mappings:
      Namespace Name Mixin selector
      named side Lnet/minecraft/network/handler/SideValidatingDispatchingCodecBuilder;side:Lnet/minecraft/network/NetworkSide;
      intermediary field_48615 Lnet/minecraft/class_9146;field_48615:Lnet/minecraft/class_2598;
      official b Laag;b:Laad;
  • Constructor Details

    • SideValidatingDispatchingCodecBuilder

      public SideValidatingDispatchingCodecBuilder(NetworkSide side)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/handler/SideValidatingDispatchingCodecBuilder;<init>(Lnet/minecraft/network/NetworkSide;)V
      intermediary <init> Lnet/minecraft/class_9146;<init>(Lnet/minecraft/class_2598;)V
      official <init> Laag;<init>(Laad;)V
  • Method Details

    • add

      public <T extends Packet<? super L>> SideValidatingDispatchingCodecBuilder<B,L> add(PacketType<T> id, PacketCodec<? super B,T> codec)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/network/handler/SideValidatingDispatchingCodecBuilder;add(Lnet/minecraft/network/packet/PacketType;Lnet/minecraft/network/codec/PacketCodec;)Lnet/minecraft/network/handler/SideValidatingDispatchingCodecBuilder;
      intermediary method_56446 Lnet/minecraft/class_9146;method_56446(Lnet/minecraft/class_9145;Lnet/minecraft/class_9139;)Lnet/minecraft/class_9146;
      official a Laag;a(Laae;Lzt;)Laag;
    • build

      public PacketCodec<B,Packet<? super L>> build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/network/handler/SideValidatingDispatchingCodecBuilder;build()Lnet/minecraft/network/codec/PacketCodec;
      intermediary method_56445 Lnet/minecraft/class_9146;method_56445()Lnet/minecraft/class_9139;
      official a Laag;a()Lzt;