net.minecraft.world.level.chunk

public class LinearPalette<T>

implements Palette<T>

cxw
net.minecraft.world.level.chunk.LinearPalette
net.minecraft.class_2834
net.minecraft.unmapped.C_gyddwsdg
net.minecraft.world.chunk.ArrayPalette
net.minecraft.world.chunk.palette.ArrayPalette
net.minecraft.src.C_2141_
net.minecraft.world.level.chunk.DataPaletteLinear

Field summary

Modifier and TypeField
private final IdMap<T>
a
registry
field_12900
f_xffdboja
idList
idList
f_63025_
private final T[]
b
values
field_12904
f_ptdbwaws
array
array
f_63026_
private final PaletteResize<T>
c
resizeHandler
field_12905
f_xbokeypq
listener
resizeListener
f_63027_
private final int
d
bits
field_12903
f_oojmnayj
indexBits
indexBits
f_63029_
private int
e
size
field_12901
f_styarqhy
size
size
f_63030_

Constructor summary

ModifierConstructor
private (IdMap<T> idList, int bits, PaletteResize<T> listener, List<T> list)
private (IdMap<T> idList, T[] array, PaletteResize<T> listener, int indexBits, int size)

Method summary

Modifier and TypeMethod
public static <A> Palette<A>
a(int arg0, hf<A> arg1, cxz<A> arg2, List<A> arg3)
create(int arg0, IdMap<A> arg1, PaletteResize<A> arg2, List<A> arg3)
method_38295(int arg0, class_2359<A> arg1, class_2835<A> arg2, List<A> arg3)
m_xmsagtox(int arg0, C_feaetnaz<A> arg1, C_sxhmfrig<A> arg2, List<A> arg3)
create(int bits, IndexedIterable<A> idList, PaletteResizeListener<A> listener, List<A> list)
create(int indexBits, IndexedIterable<A> idList, PaletteResizeListener<A> resizeListener, List<A> arg3)
m_188019_(int p_188020_, C_4698_<A> p_188021_, C_2144_<A> p_188022_, List<A> p_188023_)
public int
a(T arg0)
idFor(T arg0)
method_12291(T arg0)
m_frsswtag(T arg0)
index(T arg0)
getId(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)
hasAny(Predicate<T> arg0)
hasAny(Predicate<T> arg0)
m_6419_(Predicate<T> arg0)
public T
a(int arg0)
valueFor(int arg0)
method_12288(int arg0)
m_gholllny(int arg0)
get(int arg0)
getEntry(int arg0)
m_5795_(int arg0)
public void
a(qx arg0)
read(FriendlyByteBuf arg0)
method_12289(class_2540 arg0)
m_osqhbwdc(C_idfydwco arg0)
readPacket(PacketByteBuf arg0)
read(PacketByteBuf arg0)
m_5680_(C_4983_ arg0)
public void
b(qx arg0)
write(FriendlyByteBuf arg0)
method_12287(class_2540 arg0)
m_lprmlgjn(C_idfydwco arg0)
writePacket(PacketByteBuf arg0)
write(PacketByteBuf arg0)
m_5678_(C_4983_ arg0)
public int
a()
getSerializedSize()
method_12290()
m_ljtxzsdf()
getPacketSize()
getPacketSize()
m_6429_()
public int
b()
getSize()
method_12197()
m_yfzgggar()
getSize()
size()
m_62680_()
public Palette<T>
c()
copy()
method_39956()
m_hrjyiuxt()
copy()
copy()
m_199814_()