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.unmapped.C_fysubvbs
net.minecraft.network.handler.SideValidatingDispatchingCodecBuilder
net.minecraft.network.phase.ConnectionPhaseCodecBuilder
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
f_rrhqixkm
backingBuilder
dispatchCodecBuilder
f_314423_
private final PacketFlow
b
flow
field_48615
f_mtwgsbxp
side
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)
m_ojxeieab(C_usugyqlb<T> arg0, C_qsrmwluu<? super B, T> arg1)
add(PacketType<T> id, PacketCodec<? super B, T> codec)
add(PacketType<T> type, PacketCodec<? super B, T> packetCodec)
m_320599_(C_313403_<T> p_335909_, C_313866_<? super B, T> arg1)
public StreamCodec<B, Packet<? super L>>
a()
build()
method_56445()
m_jykfljvg()
build()
build()
m_324692_()