Uses of Interface
net.minecraft.world.chunk.Palette
Packages that use Palette
-
Uses of Palette in net.minecraft.world.chunk
Classes in net.minecraft.world.chunk that implement PaletteModifier and TypeClassDescriptionclass
ArrayPalette<T>
A palette that stores the possible entries in an array and maps them to their indices in the array.class
BiMapPalette<T>
A palette backed by a bidirectional hash table.class
A palette that directly stores the raw ID of entries to the palette container storage.class
A palette that only holds a unique entry.Fields in net.minecraft.world.chunk declared as PaletteModifier and TypeFieldDescriptionPalettedContainer.Data.palette
The field for thepalette
record component.Methods in net.minecraft.world.chunk that return PaletteModifier and TypeMethodDescriptionArrayPalette.copy()
BiMapPalette.copy()
IdListPalette.copy()
Palette.copy()
SingularPalette.copy()
static <A> Palette<A>
ArrayPalette.create
(int bits, IndexedIterable<A> idList, PaletteResizeListener<A> listener, List<A> list) static <A> Palette<A>
BiMapPalette.create
(int bits, IndexedIterable<A> idList, PaletteResizeListener<A> listener, List<A> entries) static <A> Palette<A>
IdListPalette.create
(int bits, IndexedIterable<A> idList, PaletteResizeListener<A> listener, List<A> list) <A> Palette<A>
Palette.Factory.create
(int bits, IndexedIterable<A> idList, PaletteResizeListener<A> listener, List<A> list) Creates a palette.static <A> Palette<A>
SingularPalette.create
(int bitSize, IndexedIterable<A> idList, PaletteResizeListener<A> listener, List<A> entries) Creates a singular palette.PalettedContainer.Data.palette()
Returns the value of thepalette
record component.Methods in net.minecraft.world.chunk with parameters of type PaletteModifier and TypeMethodDescriptionvoid
PalettedContainer.Data.importFrom
(Palette<T> palette, PaletteStorage storage) Imports the data from the otherstorage
with the otherpalette
.Constructors in net.minecraft.world.chunk with parameters of type PaletteModifierConstructorDescription(package private)
Data
(PalettedContainer.DataProvider<T> configuration, PaletteStorage storage, Palette<T> palette) Creates an instance of aData
record class.