Uses of Class
net.minecraft.world.chunk.PalettedContainer.PaletteProvider
-
Uses of PalettedContainer.PaletteProvider in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionstatic final PalettedContainer.PaletteProvider
PalettedContainer.PaletteProvider.BIOME
A palette provider that stores64
objects in a container.static final PalettedContainer.PaletteProvider
PalettedContainer.PaletteProvider.BLOCK_STATE
A palette provider that stores4096
objects in a container.private final PalettedContainer.PaletteProvider
PalettedContainer.paletteProvider
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<PalettedContainer<T>>
PalettedContainer.createCodec
(IndexedIterable<T> idList, com.mojang.serialization.Codec<T> entryCodec, PalettedContainer.PaletteProvider provider, T t) Creates a codec for a paletted container with a specific palette provider.private static <T> com.mojang.serialization.DataResult<PalettedContainer<T>>
PalettedContainer.read
(IndexedIterable<T> idList, PalettedContainer.PaletteProvider provider, PalettedContainer.Serialized<T> serialized) private PalettedContainer.Serialized<T>
PalettedContainer.write
(IndexedIterable<T> idList, PalettedContainer.PaletteProvider provider) ModifierConstructorDescriptionprivate
PalettedContainer
(IndexedIterable<T> idList, PalettedContainer.PaletteProvider paletteProvider, PalettedContainer.Data<T> data) PalettedContainer
(IndexedIterable<T> idList, PalettedContainer.PaletteProvider paletteProvider, PalettedContainer.DataProvider<T> dataProvider, PaletteStorage storage, List<T> paletteEntries) PalettedContainer
(IndexedIterable<T> idList, T object, PalettedContainer.PaletteProvider paletteProvider)