Uses of Interface
net.minecraft.world.chunk.ReadableContainer
-
Uses of ReadableContainer in net.minecraft.world.chunk
Modifier and TypeInterfaceDescriptionstatic interface
ReadableContainer.Reader<T,
C extends ReadableContainer<T>> Modifier and TypeClassDescriptionclass
A paletted container stores objects in 3D voxels as small integer indices, governed by "palettes" that map between these objects and indices.Modifier and TypeFieldDescriptionprivate ReadableContainer
<RegistryEntry<Biome>> ChunkSection.biomeContainer
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.Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec
<ReadableContainer<RegistryEntry<Biome>>> SerializedChunk.createCodec
(Registry<Biome> biomeRegistry) static <T> com.mojang.serialization.Codec
<ReadableContainer<T>> PalettedContainer.createReadableContainerCodec
(IndexedIterable<T> idList, com.mojang.serialization.Codec<T> entryCodec, PalettedContainer.PaletteProvider paletteProvider, T defaultValue) ModifierConstructorDescriptionChunkSection
(PalettedContainer<BlockState> blockStateContainer, ReadableContainer<RegistryEntry<Biome>> biomeContainer)