net.minecraft.server.v1_14_R1

public class DataPaletteBlock<T>

implements DataPaletteExpandable<T>

bxv
net.minecraft.class_2841
net.minecraft.world.chunk.PalettedContainer
net.minecraft.world.chunk.BlockStateContainer
net.minecraft.server.v1_14_R1.DataPaletteBlock

Field summary

Modifier and TypeField
private final DataPalette<T>
b
field_12940
fallbackPalette
field_205521_b
private final DataPaletteExpandable<T>
c
field_12942
noOpPaletteResizeHandler
field_205522_c
private final RegistryBlockID<T>
d
field_12938
idList
field_205523_d
private final Function<NBTTagCompound, T>
e
field_12943
elementDeserializer
field_205524_e
private final Function<T, NBTTagCompound>
f
field_12939
elementSerializer
field_205525_f
private final T
g
field_12935
field_12935
field_205526_g
protected DataBits
a
field_12941
data
field_186021_b
private DataPalette<T>
h
field_12936
palette
field_186022_c
private int
i
field_12934
paletteSize
field_186024_e
private final ReentrantLock
j
field_12937
writeLock
field_210461_j

Constructor summary

ModifierConstructor
public (DataPalette<T> arg0, RegistryBlockID<T> arg1, Function<NBTTagCompound, T> arg2, Function<T, NBTTagCompound> arg3, T arg4)

Method summary

Modifier and TypeMethod
public void
a()
method_12334()
lock()
func_210459_b()
public void
b()
method_12335()
unlock()
func_210460_c()
private static int
b(int arg0, int arg1, int arg2)
method_12323(int arg0, int arg1, int arg2)
toIndex(int arg0, int arg1, int arg2)
func_186011_b(int arg0, int arg1, int arg2)
private void
b(int arg0)
method_12324(int arg0)
setPaletteSize(int arg0)
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)
public T
a(int arg0, int arg1, int arg2, T arg3)
method_12328(int arg0, int arg1, int arg2, T arg3)
setSync(int arg0, int arg1, int arg2, T arg3)
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)
method_16678(int arg0, int arg1, int arg2, T arg3)
set(int arg0, int arg1, int arg2, T arg3)
func_222639_b(int arg0, int arg1, int arg2, T arg3)
protected T
a(int arg0, T arg1)
method_12336(int arg0, T arg1)
setAndGetOldValue(int arg0, T arg1)
func_222643_a(int arg0, T arg1)
protected void
b(int arg0, T arg1)
method_12322(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)
method_12321(int arg0, int arg1, int arg2)
get(int arg0, int arg1, int arg2)
func_186016_a(int arg0, int arg1, int arg2)
protected T
a(int arg0)
method_12331(int arg0)
get(int arg0)
func_186015_a(int arg0)
public void
b(jd arg0)
method_12325(class_2540 arg0)
toPacket(PacketByteBuf arg0)
func_186009_b(PacketBuffer arg0)
public void
a(ij arg0, long[] arg1)
method_12329(class_2499 arg0, long[] arg1)
read(ListTag arg0, long[] arg1)
func_222642_a(ListNBT arg0, long[] arg1)
public void
a(ic arg0, String arg1, String arg2)
method_12330(class_2487 arg0, String arg1, String arg2)
write(CompoundTag arg0, String arg1, String arg2)
func_196963_b(CompoundNBT arg0, String arg1, String arg2)
public int
c()
method_12327()
getPacketSize()
func_186018_a()
public boolean
a(T arg0)
method_19526(T arg0)
method_19526(T arg0)
func_222640_a(T arg0)
public void
a(jd arg0)
method_12326(class_2540 arg0)
fromPacket(PacketByteBuf arg0)
func_186010_a(PacketBuffer arg0)