net.minecraft.server.v1_14_R1

public class DataPaletteLinear<T>

implements DataPalette<T>

bxr
net.minecraft.class_2834
net.minecraft.world.chunk.ArrayPalette
net.minecraft.world.chunk.BlockStatePaletteLinear
net.minecraft.server.v1_14_R1.DataPaletteLinear

Field summary

Modifier and TypeField
private final RegistryBlockID<T>
a
field_12900
idList
field_205507_a
private final T[]
b
field_12904
array
field_186042_a
private final DataPaletteExpandable<T>
c
field_12905
resizeListener
field_186043_b
private final Function<NBTTagCompound, T>
d
field_12902
valueDeserializer
field_205508_d
private final int
e
field_12903
indexBits
field_186044_c
private int
f
field_12901
size
field_186045_d

Constructor summary

ModifierConstructor
public (RegistryBlockID<T> arg0, int arg1, DataPaletteExpandable<T> arg2, Function<NBTTagCompound, T> arg3)

Method summary

Modifier and TypeMethod
public int
a(T arg0)
method_12291(T arg0)
getIndex(T arg0)
func_186041_a(T arg0)
public boolean
b(T arg0)
method_19525(T arg0)
accepts(T arg0)
func_222626_b(T arg0)
public T
a(int arg0)
method_12288(int arg0)
getByIndex(int arg0)
func_186039_a(int arg0)
public void
b(jd arg0)
method_12287(class_2540 arg0)
toPacket(PacketByteBuf arg0)
func_186037_b(PacketBuffer arg0)
public int
a()
method_12290()
getPacketSize()
func_186040_a()
public int
b()
method_12282()
getSize()
func_202137_b()
public void
a(ij arg0)
method_12286(class_2499 arg0)
fromTag(ListTag arg0)
func_196968_a(ListNBT arg0)
public void
a(jd arg0)
method_12289(class_2540 arg0)
fromPacket(PacketByteBuf arg0)
func_186038_a(PacketBuffer arg0)