net.minecraft.world.level.chunk

public class GlobalPalette<T>

implements Palette<T>

cmu
net.minecraft.world.level.chunk.GlobalPalette
net.minecraft.class_2816
net.minecraft.world.chunk.IdListPalette
net.minecraft.src.C_2134_
net.minecraft.world.level.chunk.DataPaletteGlobal

Field summary

Modifier and TypeField
private final IdMapper<T>
a
registry
field_12828
idList
f_62639_
private final T
b
defaultValue
field_12829
defaultValue
f_62640_

Constructor summary

ModifierConstructor
public (IdMapper<T> idList, T defaultValue)

Method summary

Modifier and TypeMethod
public int
a(T arg0)
idFor(T arg0)
method_12291(T arg0)
getIndex(T arg0)
m_6796_(T arg0)
public boolean
a(Predicate<T> arg0)
maybeHas(Predicate<T> arg0)
method_19525(Predicate<T> arg0)
accepts(Predicate<T> arg0)
m_6419_(Predicate<T> arg0)
public T
a(int arg0)
valueFor(int arg0)
method_12288(int arg0)
getByIndex(int arg0)
m_5795_(int arg0)
public void
a(og arg0)
read(FriendlyByteBuf arg0)
method_12289(class_2540 arg0)
fromPacket(PacketByteBuf arg0)
m_5680_(C_4983_ arg0)
public void
b(og arg0)
write(FriendlyByteBuf arg0)
method_12287(class_2540 arg0)
toPacket(PacketByteBuf arg0)
m_5678_(C_4983_ arg0)
public int
a()
getSerializedSize()
method_12290()
getPacketSize()
m_6429_()
public int
b()
getSize()
method_12197()
getIndexBits()
m_142067_()
public void
a(ng arg0)
read(ListTag arg0)
method_12286(class_2499 arg0)
readNbt(NbtList arg0)
m_7385_(C_4930_ arg0)