net.minecraft.world.level.chunk

public class PalettedContainer<T>

implements PaletteResize<T>

bya
net.minecraft.world.level.chunk.PalettedContainer
net.minecraft.class_2841
net.minecraft.unmapped.C_aehiirzw
net.minecraft.world.chunk.PalettedContainer
net.minecraft.world.chunk.BlockStateContainer
net.minecraft.server.v1_14_R1.DataPaletteBlock

Field summary

Modifier and TypeField
private final Palette<T>
b
globalPalette
field_12940
f_izvmkvhf
fallbackPalette
field_205521_b
private final PaletteResize<T>
c
dummyPaletteResize
field_12942
f_llvpfuzb
noOpPaletteResizeHandler
field_205522_c
private final IdMapper<T>
d
registry
field_12938
f_jnqmbtbo
idList
field_205523_d
private final Function<CompoundTag, T>
e
reader
field_12943
f_ctdynwau
elementDeserializer
field_205524_e
private final Function<T, CompoundTag>
f
writer
field_12939
f_mkuqqeyp
elementSerializer
field_205525_f
private final T
g
defaultValue
field_12935
f_hliqtpbg
field_205526_g
protected BitStorage
a
storage
field_12941
f_rcttnwhk
data
field_186021_b
private Palette<T>
h
palette
field_12936
f_zfdsnstj
palette
field_186022_c
private int
i
bits
field_12934
f_tnuwpbul
paletteSize
field_186024_e
private final ReentrantLock
j
lock
field_12937
f_oyithvfy
writeLock
field_210461_j

Constructor summary

ModifierConstructor
public (Palette<T> fallbackPalette, IdMapper<T> idList, Function<CompoundTag, T> elementDeserializer, Function<T, CompoundTag> elementSerializer, T defaultElement)

Method summary

Modifier and TypeMethod
public void
a()
acquire()
method_12334()
m_xsfxrokt()
lock()
func_210459_b()
public void
b()
release()
method_12335()
m_udggqttg()
unlock()
func_210460_c()
private static int
b(int arg0, int arg1, int arg2)
getIndex(int arg0, int arg1, int arg2)
method_12323(int arg0, int arg1, int arg2)
m_zevoouoh(int arg0, int arg1, int arg2)
toIndex(int x, int y, int z)
func_186011_b(int arg0, int arg1, int arg2)
private void
b(int arg0)
setBits(int arg0)
method_12324(int arg0)
m_sfdkbflj(int arg0)
setPaletteSize(int size)
func_186012_b(int arg0)
public int
onResize(int arg0, T arg1)
onResize(int arg0, T arg1)
onResize(int arg0, T arg1)
onResize(int arg0, T arg1)
onResize(int arg0, T arg1)
public T
a(int arg0, int arg1, int arg2, T arg3)
getAndSet(int arg0, int arg1, int arg2, T arg3)
method_12328(int arg0, int arg1, int arg2, T arg3)
m_vtsjlcza(int arg0, int arg1, int arg2, T arg3)
setSync(int x, int y, int z, T value)
func_222641_a(int arg0, int arg1, int arg2, T arg3)
setBlock(int arg0, int arg1, int arg2, T arg3)
public T
b(int arg0, int arg1, int arg2, T arg3)
getAndSetUnchecked(int arg0, int arg1, int arg2, T arg3)
method_16678(int arg0, int arg1, int arg2, T arg3)
m_iyxhoppi(int arg0, int arg1, int arg2, T arg3)
set(int x, int y, int z, T value)
func_222639_b(int arg0, int arg1, int arg2, T arg3)
protected T
a(int arg0, T arg1)
getAndSet(int arg0, T arg1)
method_12336(int arg0, T arg1)
m_olzskczg(int arg0, T arg1)
setAndGetOldValue(int index, T value)
func_222643_a(int arg0, T arg1)
protected void
b(int arg0, T arg1)
set(int arg0, T arg1)
method_12322(int arg0, T arg1)
m_mrxrbahp(int arg0, T arg1)
set(int arg0, T arg1)
func_186014_b(int arg0, T arg1)
setBlockIndex(int arg0, T arg1)
public T
a(int arg0, int arg1, int arg2)
get(int arg0, int arg1, int arg2)
method_12321(int arg0, int arg1, int arg2)
m_qfrxebnu(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)
get(int arg0)
method_12331(int arg0)
m_zcurgtmk(int arg0)
get(int index)
func_186015_a(int arg0)
public void
b(je arg0)
write(FriendlyByteBuf arg0)
method_12325(class_2540 arg0)
m_pwyzkihx(C_idfydwco arg0)
toPacket(PacketByteBuf buf)
func_186009_b(PacketBuffer arg0)
public void
a(ik arg0, long[] arg1)
read(ListTag arg0, long[] arg1)
method_12329(class_2499 arg0, long[] arg1)
m_gjeowldg(C_hqhtfwlr arg0, long[] arg1)
read(ListTag paletteTag, long[] data)
func_222642_a(ListNBT arg0, long[] arg1)
public void
a(id arg0, String arg1, String arg2)
write(CompoundTag arg0, String arg1, String arg2)
method_12330(class_2487 arg0, String arg1, String arg2)
m_farggxnl(C_hhlwcnih arg0, String arg1, String arg2)
write(CompoundTag arg0, String arg1, String arg2)
func_196963_b(CompoundNBT arg0, String arg1, String arg2)
public int
c()
getSerializedSize()
method_12327()
m_xqmkqlns()
getPacketSize()
func_186018_a()
public boolean
a(T arg0)
maybeHas(T arg0)
method_19526(T arg0)
m_huyuznrj(T arg0)
func_222640_a(T arg0)
public void
a(bya$a<T> arg0)
count(PalettedContainer$CountConsumer<T> arg0)
method_21732(class_2841$class_4464<T> arg0)
m_ddhygbfe(C_aehiirzw$C_hfkxccvh<T> arg0)
func_225497_a(BlockStateContainer$ICountConsumer<T> arg0)
public void
a(je arg0)
read(FriendlyByteBuf arg0)
method_12326(class_2540 arg0)
m_meswfhll(C_idfydwco arg0)
fromPacket(PacketByteBuf buf)
func_186010_a(PacketBuffer arg0)