net.minecraft.network.protocol

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

zb$a
net.minecraft.network.protocol.ProtocolInfoBuilder$CodecEntry
net.minecraft.class_9147$class_9148
net.minecraft.network.NetworkStateBuilder$PacketType
net.minecraft.network.protocol.ProtocolInfoBuilder$a

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(za<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)
public PacketType<P>
a()
type()
comp_2232()
id()
public StreamCodec<? super B, P>
b()
serializer()
comp_2233()
codec()