net.minecraft.network.codec

public class IdDispatchCodec$Builder<B extends io.netty.buffer.ByteBuf, V, T>

yw$a
net.minecraft.network.codec.IdDispatchCodec$Builder
net.minecraft.class_9136$class_9137
net.minecraft.network.handler.PacketCodecDispatcher$Builder
net.minecraft.src.C_313375_$C_313497_
net.minecraft.network.codec.IdDispatchCodec$a

Field summary

Modifier and TypeField
private final List<IdDispatchCodec$Entry<B, V, T>>
a
entries
field_48580
packetTypes
f_315818_
private final Function<V, ? extends T>
b
typeGetter
field_48581
packetIdGetter
f_316945_

Constructor summary

ModifierConstructor
(Function<V, ? extends T> packetIdGetter)

Method summary

Modifier and TypeMethod
public IdDispatchCodec$Builder<B, V, T>
a(T arg0, yx<? super B, ? extends V> arg1)
add(T arg0, StreamCodec<? super B, ? extends V> arg1)
method_56429(T arg0, class_9139<? super B, ? extends V> arg1)
add(T id, PacketCodec<? super B, ? extends V> codec)
m_321255_(T p_330239_, C_313866_<? super B, ? extends V> arg1)
public IdDispatchCodec<B, V, T>
a()
build()
method_56428()
build()
m_324285_()