Uses of Interface
net.minecraft.util.collection.IndexedIterable
Package
Description
The base package for all Minecraft classes.
-
Uses of IndexedIterable in net.minecraft
Modifier and TypeMethodDescriptionclass_7522.method_44345
(IndexedIterable<T> indexedIterable, PalettedContainer.PaletteProvider paletteProvider) com.mojang.serialization.DataResult<C>
class_7522.class_7523.read
(IndexedIterable<T> indexedIterable, PalettedContainer.PaletteProvider paletteProvider, class_7522.Serialized<T> serialized) -
Uses of IndexedIterable in net.minecraft.entity.data
Modifier and TypeMethodDescriptionstatic <T> TrackedDataHandler<T>
TrackedDataHandler.of
(IndexedIterable<T> registry) -
Uses of IndexedIterable in net.minecraft.network
Modifier and TypeMethodDescription<T> T
PacketByteBuf.readRegistryValue
(IndexedIterable<T> registry) Reads a value from a registry (or otherIndexedIterable
s).<T> void
PacketByteBuf.writeRegistryValue
(IndexedIterable<T> registry, T value) Writes a value from a registry (or otherIndexedIterable
s). -
Uses of IndexedIterable in net.minecraft.util.collection
-
Uses of IndexedIterable in net.minecraft.util.registry
-
Uses of IndexedIterable in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionprivate final IndexedIterable<T>
ArrayPalette.idList
private final IndexedIterable<T>
BiMapPalette.idList
private final IndexedIterable<T>
IdListPalette.idList
private final IndexedIterable<T>
PalettedContainer.idList
private final IndexedIterable<T>
SingularPalette.idList
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.private static <T,
C extends class_7522<T>>
com.mojang.serialization.Codec<C>PalettedContainer.createCodec
(IndexedIterable<T> indexedIterable, com.mojang.serialization.Codec<T> entryCodec, PalettedContainer.PaletteProvider provider, T t, class_7522.class_7523<T, C> class_7523) Creates a codec for a paletted container with a specific palette provider.PalettedContainer.DataProvider.createData
(IndexedIterable<T> idList, PaletteResizeListener<T> listener, int size) abstract <A> PalettedContainer.DataProvider<A>
PalettedContainer.PaletteProvider.createDataProvider
(IndexedIterable<A> idList, int bits) Creates a data provider that is suitable to represent objects withbits
size in the storage.(package private) <A> int
PalettedContainer.PaletteProvider.getBits
(IndexedIterable<A> idList, int size) static <T> com.mojang.serialization.Codec<PalettedContainer<T>>
PalettedContainer.method_44343
(IndexedIterable<T> indexedIterable, com.mojang.serialization.Codec<T> codec, PalettedContainer.PaletteProvider paletteProvider, T t) PalettedContainer.method_44345
(IndexedIterable<T> indexedIterable, PalettedContainer.PaletteProvider paletteProvider) private static <T> com.mojang.serialization.DataResult<PalettedContainer<T>>
PalettedContainer.method_44346
(IndexedIterable<T> indexedIterable, PalettedContainer.PaletteProvider paletteProvider, class_7522.Serialized<T> serialized) static <T> com.mojang.serialization.Codec<class_7522<T>>
PalettedContainer.method_44347
(IndexedIterable<T> indexedIterable, com.mojang.serialization.Codec<T> codec, PalettedContainer.PaletteProvider paletteProvider, T t) ModifierConstructorDescriptionprivate
ArrayPalette
(IndexedIterable<T> idList, int bits, PaletteResizeListener<T> listener, List<T> list) private
ArrayPalette
(IndexedIterable<T> indexedIterable, T[] t, PaletteResizeListener<T> paletteResizeListener, int int2, int int3) 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> indexedIterable, int int2, PaletteResizeListener<T> paletteResizeListener, Int2ObjectBiMap<T> int2ObjectBiMap) IdListPalette
(IndexedIterable<T> idList) private
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) SingularPalette
(IndexedIterable<T> idList, PaletteResizeListener<T> listener, List<T> entries)