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 TypeClassDescriptionclassArrayPalette<T>A palette that stores the possible entries in an array and maps them to their indices in the array.classBiMapPalette<T>A palette backed by a bidirectional hash table.classA palette that directly stores the raw ID of entries to the palette container storage.classA palette that only holds a unique entry.Fields in net.minecraft.world.chunk declared as PaletteModifier and TypeFieldDescriptionPalettedContainer.Data.paletteThe field for thepaletterecord 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> static <A> Palette<A> <A> Palette<A> Creates a palette.static <A> Palette<A> Creates a singular palette.<T> Palette<T> PaletteType.createPalette(PaletteProvider<T> provider, List<T> values) <T> Palette<T> PaletteType.Dynamic.createPalette(PaletteProvider<T> provider, List<T> values) <T> Palette<T> PaletteType.Static.createPalette(PaletteProvider<T> provider, List<T> values) PalettedContainer.Data.palette()Returns the value of thepaletterecord component.Methods in net.minecraft.world.chunk with parameters of type PaletteModifier and TypeMethodDescriptionvoidPalettedContainer.Data.importFrom(Palette<T> palette, PaletteStorage storage) Imports the data from the otherstoragewith the otherpalette.private static <T> int[]PalettedContainer.repack(PaletteStorage storage, Palette<T> oldPalette, Palette<T> newPalette) Constructors in net.minecraft.world.chunk with parameters of type PaletteModifierConstructorDescription(package private)Data(PaletteType configuration, PaletteStorage storage, Palette<T> palette) Creates an instance of aDatarecord class.privatePalettedContainer(PaletteProvider<T> paletteProvider, PaletteType type, PaletteStorage storage, Palette<T> palette)