net.minecraft.world.level.chunk

public class LinearPalette<T>

implements Palette<T>

cgh
net.minecraft.world.level.chunk.LinearPalette
net.minecraft.class_2834
net.minecraft.unmapped.C_gyddwsdg
net.minecraft.world.chunk.ArrayPalette
net.minecraft.util.palette.ArrayPalette
net.minecraft.server.v1_16_R2.DataPaletteLinear

Field summary

Modifier and TypeField
private final IdMapper<T>
a
registry
field_12900
f_xffdboja
idList
field_205507_a
private final T[]
b
values
field_12904
f_ptdbwaws
array
field_186042_a
private final PaletteResize<T>
c
resizeHandler
field_12905
f_xbokeypq
resizeListener
field_186043_b
private final Function<CompoundTag, T>
d
reader
field_12902
f_omyirnfx
valueDeserializer
field_205508_d
private final int
e
bits
field_12903
f_oojmnayj
indexBits
field_186044_c
private int
f
size
field_12901
f_styarqhy
size
field_186045_d

Constructor summary

ModifierConstructor
public (IdMapper<T> arg0, int integer, PaletteResize<T> resizeListener, Function<CompoundTag, T> valueDeserializer)

Method summary

Modifier and TypeMethod
public int
a(T arg0)
idFor(T arg0)
method_12291(T arg0)
m_frsswtag(T arg0)
getIndex(T arg0)
func_186041_a(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)
func_230341_a_(Predicate<T> arg0)
public T
a(int arg0)
valueFor(int arg0)
method_12288(int arg0)
m_gholllny(int arg0)
getByIndex(int arg0)
func_186039_a(int arg0)
public void
b(nf arg0)
write(FriendlyByteBuf arg0)
method_12287(class_2540 arg0)
m_lprmlgjn(C_idfydwco arg0)
toPacket(PacketByteBuf arg0)
func_186037_b(PacketBuffer arg0)
public int
a()
getSerializedSize()
method_12290()
m_ljtxzsdf()
getPacketSize()
func_186040_a()
public int
b()
getSize()
method_12282()
m_urvfjmkn()
getSize()
func_202137_b()
public void
a(mj arg0)
read(ListTag arg0)
method_12286(class_2499 arg0)
m_vpvwndih(C_hqhtfwlr arg0)
fromTag(ListTag arg0)
func_196968_a(ListNBT arg0)
public void
a(nf arg0)
read(FriendlyByteBuf arg0)
method_12289(class_2540 arg0)
m_lalkemkc(C_idfydwco arg0)
fromPacket(PacketByteBuf arg0)
func_186038_a(PacketBuffer arg0)