net.minecraft.network.protocol

record ProtocolInfoBuilder$CodecEntry<T extends PacketListener, P extends Packet<? super T>, B extends io.netty.buffer.ByteBuf>

aab$a
net.minecraft.network.protocol.ProtocolInfoBuilder$CodecEntry
net.minecraft.class_9147$class_9148
net.minecraft.network.NetworkStateBuilder$PacketType
net.minecraft.src.C_313614_$C_313283_
net.minecraft.network.protocol.ProtocolInfoBuilder$a

Field summary

Modifier and TypeField
private final PacketType<P>
a
type
comp_2232
id
f_315645_
private final StreamCodec<? super B, P>
b
serializer
comp_2233
codec
f_315912_

Constructor summary

ModifierConstructor
(PacketType<P> serializer, StreamCodec<? super B, P> arg1)

Method summary

Modifier and TypeMethod
public void
a(aaa<io.netty.buffer.ByteBuf, T> arg0, Function<io.netty.buffer.ByteBuf, B> arg1)
addToBuilder(ProtocolCodecBuilder<io.netty.buffer.ByteBuf, T> arg0, Function<io.netty.buffer.ByteBuf, B> arg1)
method_56459(class_9146<io.netty.buffer.ByteBuf, T> arg0, Function<io.netty.buffer.ByteBuf, B> arg1)
add(SideValidatingDispatchingCodecBuilder<io.netty.buffer.ByteBuf, T> builder, Function<io.netty.buffer.ByteBuf, B> bufUpgrader)
m_319563_(C_313367_<io.netty.buffer.ByteBuf, T> p_333803_, Function<io.netty.buffer.ByteBuf, B> arg1)
public PacketType<P>
a()
type()
comp_2232()
id()
f_315645_()
public StreamCodec<? super B, P>
b()
serializer()
comp_2233()
codec()
f_315912_()