net.minecraft.world.level.chunk

public class GlobalPalette<T>

implements Palette<T>

bxq
net.minecraft.world.level.chunk.GlobalPalette
net.minecraft.class_2816
net.minecraft.world.chunk.IdListPalette
net.minecraft.world.chunk.BlockStatePaletteRegistry
net.minecraft.server.v1_14_R1.DataPaletteGlobal

Field summary

Modifier and TypeField
private final IdMapper<T>
a
registry
field_12828
idList
field_205505_a
private final T
b
defaultValue
field_12829
fallback
field_205506_b

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)
func_186041_a(T arg0)
public boolean
b(T arg0)
maybeHas(T arg0)
method_19525(T arg0)
accepts(T arg0)
func_222626_b(T arg0)
public T
a(int arg0)
valueFor(int arg0)
method_12288(int arg0)
getByIndex(int arg0)
func_186039_a(int arg0)
public void
b(je arg0)
write(FriendlyByteBuf arg0)
method_12287(class_2540 arg0)
toPacket(PacketByteBuf arg0)
func_186037_b(PacketBuffer arg0)
public int
a()
getSerializedSize()
method_12290()
getPacketSize()
func_186040_a()
public void
a(ik arg0)
read(ListTag arg0)
method_12286(class_2499 arg0)
fromTag(ListTag arg0)
func_196968_a(ListNBT arg0)
public void
a(je arg0)
read(FriendlyByteBuf arg0)
method_12289(class_2540 arg0)
fromPacket(PacketByteBuf arg0)
func_186038_a(PacketBuffer arg0)