Uses of Interface
net.minecraft.util.collection.IndexedIterable
Package
Description
-
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> RegistryEntry<T>
PacketByteBuf.readRegistryEntry
(IndexedIterable<RegistryEntry<T>> registryEntries, PacketByteBuf.PacketReader<T> reader) <T> T
PacketByteBuf.readRegistryValue
(IndexedIterable<T> registry) Reads a value from a registry (or otherIndexedIterable
s).<T> void
PacketByteBuf.writeRegistryEntry
(IndexedIterable<RegistryEntry<T>> registryEntries, RegistryEntry<T> entry, PacketByteBuf.PacketWriter<T> writer) <T> void
PacketByteBuf.writeRegistryValue
(IndexedIterable<T> registry, T value) Writes a value from a registry (or otherIndexedIterable
s). -
Uses of IndexedIterable in net.minecraft.registry
Modifier and TypeInterfaceDescriptioninterface
interface
A registry that allows adding or modifying values.interface
Registry<T>
A registry is used to register various in-game components.Modifier and TypeClassDescriptionclass
An implementation ofRegistry
with a default ID and value for unknown lookups.class
An implementation of a mutable registry.Modifier and TypeMethodDescriptiondefault IndexedIterable<RegistryEntry<T>>
Registry.getIndexedEntries()
-
Uses of IndexedIterable in net.minecraft.util.collection
-
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 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.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.static <T> com.mojang.serialization.Codec<PalettedContainer<T>>
PalettedContainer.createPalettedContainerCodec
(IndexedIterable<T> idList, com.mojang.serialization.Codec<T> entryCodec, PalettedContainer.PaletteProvider paletteProvider, T defaultValue) static <T> com.mojang.serialization.Codec<ReadableContainer<T>>
PalettedContainer.createReadableContainerCodec
(IndexedIterable<T> idList, com.mojang.serialization.Codec<T> entryCodec, PalettedContainer.PaletteProvider paletteProvider, T defaultValue) (package private) <A> int
PalettedContainer.PaletteProvider.getBits
(IndexedIterable<A> idList, int size) private static <T> com.mojang.serialization.DataResult<PalettedContainer<T>>
PalettedContainer.read
(IndexedIterable<T> idList, PalettedContainer.PaletteProvider paletteProvider, ReadableContainer.Serialized<T> serialized) com.mojang.serialization.DataResult<C>
ReadableContainer.Reader.read
(IndexedIterable<T> idList, PalettedContainer.PaletteProvider paletteProvider, ReadableContainer.Serialized<T> serialize) PalettedContainer.serialize
(IndexedIterable<T> idList, PalettedContainer.PaletteProvider paletteProvider) ReadableContainer.serialize
(IndexedIterable<T> idList, PalettedContainer.PaletteProvider paletteProvider) 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) 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)