net.minecraft.network.protocol

public class ProtocolCodecBuilder<B extends io.netty.buffer.ByteBuf, L extends PacketListener>

za
net.minecraft.network.protocol.ProtocolCodecBuilder
net.minecraft.class_9146
net.minecraft.network.handler.SideValidatingDispatchingCodecBuilder
net.minecraft.network.protocol.ProtocolCodecBuilder

Field summary

Modifier and TypeField
private final IdDispatchCodec$Builder<B, Packet<? super L>, PacketType<? extends Packet<? super L>>>
a
dispatchBuilder
field_48614
backingBuilder
private final PacketFlow
b
flow
field_48615
side

Constructor summary

ModifierConstructor
public (PacketFlow side)

Method summary

Modifier and TypeMethod
public <T extends Packet<? super L>> ProtocolCodecBuilder<B, L>
a(yy<T> arg0, yn<? super B, T> arg1)
add(PacketType<T> arg0, StreamCodec<? super B, T> arg1)
method_56446(class_9145<T> arg0, class_9139<? super B, T> arg1)
add(PacketType<T> id, PacketCodec<? super B, T> codec)
public StreamCodec<B, Packet<? super L>>
a()
build()
method_56445()
build()