implements StreamCodec<B, V>
yw | |
net.minecraft.network.codec.IdDispatchCodec | |
net.minecraft.class_9136 | |
net.minecraft.network.handler.PacketCodecDispatcher | |
net.minecraft.src.C_313375_ | |
net.minecraft.network.codec.IdDispatchCodec |
Field summary
Modifier and Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
private static final int |
| ||||||||||
private final Function<V, ? extends T> |
| ||||||||||
private final List<IdDispatchCodec$Entry<B, V, T>> |
| ||||||||||
private final it.unimi.dsi.fastutil.objects.Object2IntMap<T> |
|
Constructor summary
Modifier | Constructor |
---|---|
(Function<V, ? extends T> packetIdGetter, List<IdDispatchCodec$Entry<B, V, T>> packetTypes, it.unimi.dsi.fastutil.objects.Object2IntMap<T> typeToIndex) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public V |
| ||||||||||
public void |
| ||||||||||
public static <B extends io.netty.buffer.ByteBuf, V, T> IdDispatchCodec$Builder<B, V, T> |
|