net.minecraft.network.codec

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

ym$a
net.minecraft.network.codec.IdDispatchCodec$Builder
net.minecraft.class_9136$class_9137
net.minecraft.network.handler.PacketCodecDispatcher$Builder
net.minecraft.network.codec.IdDispatchCodec$a

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public IdDispatchCodec$Builder<B, V, T>
a(T arg0, yn<? 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)
public IdDispatchCodec<B, V, T>
a()
build()
method_56428()
build()