net.minecraft.world.chunk

public class PalettedContainer<T>

implements PaletteResizer<T>

bnp
net.minecraft.unmapped.C_30422090
net.minecraft.world.chunk.PalettedContainer
net.minecraft.world.chunk.BlockStateContainer

Field summary

Modifier and TypeField
private final Palette<T>
b
f_74209130
globalPalette
field_205521_b
private final PaletteResizer<T>
c
f_99576502
dummyPaletteResize
field_205522_c
private final Id2ObjectBiMap<T>
d
f_66517798
registry
field_205523_d
private final Function<NbtCompound, T>
e
f_82234060
reader
field_205524_e
private final Function<T, NbtCompound>
f
f_63918801
writer
field_205525_f
private final T
g
f_11871602
defaultValue
field_205526_g
protected BitStorage
a
f_85667712
storage
field_186021_b
private Palette<T>
h
f_88193327
palette
field_186022_c
private int
i
f_17280005
bits
field_186024_e
private final ReentrantLock
j
f_07623838
lock
field_210461_j

Constructor summary

ModifierConstructor
public (Palette<T> globalPalette, Id2ObjectBiMap<T> registry, Function<NbtCompound, T> reader, Function<T, NbtCompound> writer, T defaultValue)

Method summary

Modifier and TypeMethod
private void
b()
m_05221082()
acquire()
func_210459_b()
private void
c()
m_37683579()
release()
func_210460_c()
private static int
b(int arg0, int arg1, int arg2)
m_15913556(int arg0, int arg1, int arg2)
getIndex(int x, int y, int z)
func_186011_b(int arg0, int arg1, int arg2)
private void
b(int arg0)
m_70867622(int arg0)
setBits(int bits)
func_186012_b(int arg0)
public int
onResize(int arg0, T arg1)
m_89081339(int arg0, T arg1)
resize(int arg0, T arg1)
onResize(int arg0, T arg1)
public void
a(int arg0, int arg1, int arg2, T arg3)
m_69014162(int arg0, int arg1, int arg2, T arg3)
set(int x, int y, int z, T value)
func_186013_a(int arg0, int arg1, int arg2, T arg3)
protected void
a(int arg0, T arg1)
m_20285378(int arg0, T arg1)
set(int index, T value)
func_186014_b(int arg0, T arg1)
public T
a(int arg0, int arg1, int arg2)
m_73705255(int arg0, int arg1, int arg2)
get(int x, int y, int z)
func_186016_a(int arg0, int arg1, int arg2)
protected T
a(int arg0)
m_54006230(int arg0)
get(int index)
func_186015_a(int arg0)
public void
b(hy arg0)
m_96356439(C_04635774 arg0)
write(PacketByteBuf buffer)
func_186009_b(PacketBuffer arg0)
public void
a(gy arg0, String arg1, String arg2)
m_05377166(C_74087615 arg0, String arg1, String arg2)
read(NbtCompound nbt, String paletteKey, String valuesKey)
func_196964_a(NBTTagCompound arg0, String arg1, String arg2)
public void
b(gy arg0, String arg1, String arg2)
m_87362507(C_74087615 arg0, String arg1, String arg2)
write(NbtCompound nbt, String paletteKey, String valuesKey)
func_196963_b(NBTTagCompound arg0, String arg1, String arg2)
public int
a()
m_62209826()
getSerializedSize()
func_186018_a()
public void
a(hy arg0)
m_97185313(C_04635774 arg0)
read(PacketByteBuf buffer)
func_186010_a(PacketBuffer arg0)