net.minecraft.world.level.chunk

public class HashMapPalette<T>

implements Palette<T>

cmu
net.minecraft.world.level.chunk.HashMapPalette
net.minecraft.class_2814
net.minecraft.unmapped.C_luszrgkm
net.minecraft.world.chunk.BiMapPalette
net.minecraft.src.C_2135_
net.minecraft.world.level.chunk.DataPaletteHash

Field summary

Modifier and TypeField
private final IdMapper<T>
a
registry
field_12821
f_gcmycyym
idList
f_62657_
private final CrudeIncrementalIntIdentityHashBiMap<T>
b
values
field_12824
f_pcrgovcq
map
f_62658_
private final PaletteResize<T>
c
resizeHandler
field_12825
f_japvsnrp
resizeHandler
f_62659_
private final Function<CompoundTag, T>
d
reader
field_12823
f_eshsqcvz
elementDeserializer
f_62660_
private final Function<T, CompoundTag>
e
writer
field_12826
f_xkizkvkc
elementSerializer
f_62661_
private final int
f
bits
field_12822
f_hufcujao
indexBits
f_62662_

Constructor summary

ModifierConstructor
public (IdMapper<T> idList, int indexBits, PaletteResize<T> resizeHandler, Function<CompoundTag, T> elementDeserializer, Function<T, CompoundTag> elementSerializer)

Method summary

Modifier and TypeMethod
public int
a(T arg0)
idFor(T arg0)
method_12291(T arg0)
m_frsswtag(T arg0)
getIndex(T arg0)
m_6796_(T arg0)
public boolean
a(Predicate<T> arg0)
maybeHas(Predicate<T> arg0)
method_19525(Predicate<T> arg0)
m_cgvusdyw(Predicate<T> arg0)
accepts(Predicate<T> arg0)
m_6419_(Predicate<T> arg0)
public T
a(int arg0)
valueFor(int arg0)
method_12288(int arg0)
m_gholllny(int arg0)
getByIndex(int arg0)
m_5795_(int arg0)
public void
a(og arg0)
read(FriendlyByteBuf arg0)
method_12289(class_2540 arg0)
m_lalkemkc(C_idfydwco arg0)
fromPacket(PacketByteBuf arg0)
m_5680_(C_4983_ arg0)
public void
b(og arg0)
write(FriendlyByteBuf arg0)
method_12287(class_2540 arg0)
m_lprmlgjn(C_idfydwco arg0)
toPacket(PacketByteBuf arg0)
m_5678_(C_4983_ arg0)
public int
a()
getSerializedSize()
method_12290()
m_ljtxzsdf()
getPacketSize()
m_6429_()
public int
b()
getSize()
method_12197()
m_yfzgggar()
getIndexBits()
m_142067_()
public void
a(ng arg0)
read(ListTag arg0)
method_12286(class_2499 arg0)
m_vpvwndih(C_hqhtfwlr arg0)
readNbt(NbtList arg0)
m_7385_(C_4930_ arg0)
public void
b(ng arg0)
write(ListTag arg0)
method_12196(class_2499 arg0)
m_purvbkga(C_hqhtfwlr arg0)
writeNbt(NbtList nbt)
m_62681_(C_4930_ arg0)