History - net.minecraft.network.codec.IdDispatchCodec

1.21.3

Names

yw

zs

Fields

int: a, UNKNOWN_TYPE, field_48576, UNKNOWN_PACKET_INDEX, f_314336_

int: a, UNKNOWN_TYPE, field_48576, UNKNOWN_PACKET_INDEX

Function<V, ? extends T>: b, typeGetter, field_48577, packetIdGetter, f_316164_

Function<V, ? extends T>: b, typeGetter, field_48577, packetIdGetter

List<IdDispatchCodec$Entry<B, V, T>>: c, byId, field_48578, packetTypes, f_316269_

List<IdDispatchCodec$Entry<B, V, T>>: c, byId, field_48578, packetTypes

it.unimi.dsi.fastutil.objects.Object2IntMap<T>: d, toId, field_48579, typeToIndex, f_316567_

it.unimi.dsi.fastutil.objects.Object2IntMap<T>: d, toId, field_48579, typeToIndex

Constructors

Methods

V (B): a, decode, method_56425, decode, m_318688_

V (B): a, decode, method_56425, decode

void (B, V): a, encode, method_56426, encode, m_318638_

void (B, V): a, encode, method_56426, encode

<B extends io.netty.buffer.ByteBuf, V, T> IdDispatchCodec$Builder<B, V, T> (Function<V, ? extends T>): a, builder, method_56427, builder, m_323921_

<B extends io.netty.buffer.ByteBuf, V, T> IdDispatchCodec$Builder<B, V, T> (Function<V, ? extends T>): a, builder, method_56427, builder

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

zm

yw

Fields

Constructors

Methods

1.20.6

Names

zm

net.minecraft.network.codec.IdDispatchCodec

net.minecraft.class_9136

net.minecraft.network.handler.PacketCodecDispatcher

net.minecraft.src.C_313375_

net.minecraft.network.codec.IdDispatchCodec

Fields

int: a, UNKNOWN_TYPE, field_48576, UNKNOWN_PACKET_INDEX, f_314336_

Function<V, ? extends T>: b, typeGetter, field_48577, packetIdGetter, f_316164_

List<IdDispatchCodec$Entry<B, V, T>>: c, byId, field_48578, packetTypes, f_316269_

it.unimi.dsi.fastutil.objects.Object2IntMap<T>: d, toId, field_48579, typeToIndex, f_316567_

Constructors

(Function<V, ? extends T>, List<IdDispatchCodec$Entry<B, V, T>>, it.unimi.dsi.fastutil.objects.Object2IntMap<T>)

Methods

V (B): a, decode, method_56425, decode, m_318688_

void (B, V): a, encode, method_56426, encode, m_318638_

<B extends io.netty.buffer.ByteBuf, V, T> IdDispatchCodec$Builder<B, V, T> (Function<V, ? extends T>): a, builder, method_56427, builder, m_323921_