net.minecraft.network.protocol

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

zk
net.minecraft.network.protocol.ProtocolCodecBuilder
net.minecraft.class_9146
net.minecraft.network.handler.SideValidatingDispatchingCodecBuilder
net.minecraft.src.C_313367_
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
f_314423_
private final PacketFlow
b
flow
field_48615
side
f_315095_

Constructor summary

ModifierConstructor
public (PacketFlow side)

Method summary

Modifier and TypeMethod
public <T extends Packet<? super L>> ProtocolCodecBuilder<B, L>
a(zi<T> arg0, yx<? 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)
m_320599_(C_313403_<T> p_335909_, C_313866_<? super B, T> arg1)
public StreamCodec<B, Packet<? super L>>
a()
build()
method_56445()
build()
m_324692_()