net.minecraft.network.codec

class ByteBufCodecs$24

implements StreamCodec<RegistryFriendlyByteBuf, Holder<T>>

yv$17
net.minecraft.network.codec.ByteBufCodecs$24
net.minecraft.class_9135$17
net.minecraft.network.codec.PacketCodecs$17
net.minecraft.src.C_313613_$C_313894_
net.minecraft.network.codec.ByteBufCodecs$17

Field summary

Modifier and TypeField
private static final int
c
DIRECT_HOLDER_ID
field_51474
DIRECT_ENTRY_MARKER
f_314746_

Constructor summary

ModifierConstructor
(ResourceKey p_331854_, StreamCodec arg1)

Method summary

Modifier and TypeMethod
private IdMap<Holder<T>>
b(wk arg0)
getRegistryOrThrow(RegistryFriendlyByteBuf arg0)
method_59794(class_9129 arg0)
getEntries(RegistryByteBuf buf)
m_325057_(C_313350_ arg0)
public Holder<T>
a(wk arg0)
decode(RegistryFriendlyByteBuf arg0)
method_58012(class_9129 arg0)
decode(RegistryByteBuf arg0)
m_318688_(C_313350_ arg0)
public void
a(wk arg0, jm<T> arg1)
encode(RegistryFriendlyByteBuf arg0, Holder<T> arg1)
method_58013(class_9129 arg0, class_6880<T> arg1)
encode(RegistryByteBuf arg0, RegistryEntry<T> arg1)
m_318638_(C_313350_ p_334420_, C_203228_<T> arg1)