Uses of Interface
net.minecraft.world.chunk.PaletteResizeListener
-
Uses of PaletteResizeListener in net.minecraft.world.chunk
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 final PaletteResizeListener<T>
PalettedContainer.dummyListener
private final PaletteResizeListener<T>
ArrayPalette.listener
private final PaletteResizeListener<T>
BiMapPalette.listener
private final PaletteResizeListener<T>
SingularPalette.listener
Modifier and TypeMethodDescriptionstatic <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.DataProvider.createData
(IndexedIterable<T> idList, PaletteResizeListener<T> listener, int size) ModifierConstructorDescriptionprivate
ArrayPalette
(IndexedIterable<T> idList, int bits, PaletteResizeListener<T> listener, List<T> list) private
ArrayPalette
(IndexedIterable<T> idList, T[] array, PaletteResizeListener<T> listener, int indexBits, int size) BiMapPalette
(IndexedIterable<T> idList, int indexBits, PaletteResizeListener<T> listener) BiMapPalette
(IndexedIterable<T> idList, int bits, PaletteResizeListener<T> listener, List<T> entries) private
BiMapPalette
(IndexedIterable<T> idList, int indexBits, PaletteResizeListener<T> listener, Int2ObjectBiMap<T> map) SingularPalette
(IndexedIterable<T> idList, PaletteResizeListener<T> listener, List<T> entries)