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 TypeMethodDescriptionprivate static <T,
C extends ReadableContainer<T>>
com.mojang.serialization.Codec<C> PalettedContainer.createCodec
(IndexedIterable<T> idList, com.mojang.serialization.Codec<T> entryCodec, PalettedContainer.PaletteProvider provider, T defaultValue, ReadableContainer.Reader<T, C> reader) Creates a codec for a paletted container with a specific palette provider.static <T> com.mojang.serialization.Codec
<PalettedContainer<T>> PalettedContainer.createPalettedContainerCodec
(IndexedIterable<T> idList, com.mojang.serialization.Codec<T> entryCodec, PalettedContainer.PaletteProvider paletteProvider, T defaultValue) static <T> com.mojang.serialization.Codec
<ReadableContainer<T>> PalettedContainer.createReadableContainerCodec
(IndexedIterable<T> idList, com.mojang.serialization.Codec<T> entryCodec, PalettedContainer.PaletteProvider paletteProvider, T defaultValue) private static <T> com.mojang.serialization.DataResult
<PalettedContainer<T>> PalettedContainer.read
(IndexedIterable<T> idList, PalettedContainer.PaletteProvider paletteProvider, ReadableContainer.Serialized<T> serialized) com.mojang.serialization.DataResult
<C> ReadableContainer.Reader.read
(IndexedIterable<T> idList, PalettedContainer.PaletteProvider paletteProvider, ReadableContainer.Serialized<T> serialize) PalettedContainer.serialize
(IndexedIterable<T> idList, PalettedContainer.PaletteProvider paletteProvider) ReadableContainer.serialize
(IndexedIterable<T> idList, PalettedContainer.PaletteProvider paletteProvider) 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)