Package net.minecraft.network.handler
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 Summary
Modifier and TypeFieldDescriptionprivate final PacketCodecDispatcher.Builder
<B, Packet<? super L>, PacketType<? extends Packet<? super L>>> private final NetworkSide
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends Packet<? super L>>
SideValidatingDispatchingCodecBuilder<B, L> add
(PacketType<T> id, PacketCodec<? super B, T> codec) PacketCodec
<B, Packet<? super L>> build()
-
Field Details
-
backingBuilder
private final PacketCodecDispatcher.Builder<B extends ByteBuf,Packet<? super L extends PacketListener>, backingBuilderPacketType<? extends Packet<? super L extends PacketListener>>> - 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
- 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
- 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
- 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;
-