Package net.minecraft.util.collection
Interface IndexedIterable<T>
- All Superinterfaces:
 Iterable<T>
- All Known Subinterfaces:
 DefaultedRegistry<T>,MutableRegistry<T>,Registry<T>
- All Known Implementing Classes:
 IdList,Int2ObjectBiMap,SimpleDefaultedRegistry,SimpleRegistry
- Mappings:
 Namespace Name named net/minecraft/util/collection/IndexedIterableintermediary net/minecraft/class_2359official jq
- 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionget(int index) default TgetOrThrow(int index) Returns the value atindex.intdefault intgetRawIdOrThrow(T value) intsize()Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator 
- 
Field Details
- 
ABSENT_RAW_ID
static final int ABSENT_RAW_ID- See Also:
 - Mappings:
 Namespace Name Mixin selector named ABSENT_RAW_IDLnet/minecraft/util/collection/IndexedIterable;ABSENT_RAW_ID:Iintermediary field_34829Lnet/minecraft/class_2359;field_34829:Iofficial aLjq;a:I
 
 - 
 - 
Method Details
- 
getRawId
- Mappings:
 Namespace Name Mixin selector named getRawIdLnet/minecraft/util/collection/IndexedIterable;getRawId(Ljava/lang/Object;)Iintermediary method_10206Lnet/minecraft/class_2359;method_10206(Ljava/lang/Object;)Iofficial aLjq;a(Ljava/lang/Object;)I
 - 
get
- Mappings:
 Namespace Name Mixin selector named getLnet/minecraft/util/collection/IndexedIterable;get(I)Ljava/lang/Object;intermediary method_10200Lnet/minecraft/class_2359;method_10200(I)Ljava/lang/Object;official aLjq;a(I)Ljava/lang/Object;
 - 
getOrThrow
Returns the value atindex.- Returns:
 - the value at 
index - Throws:
 IllegalArgumentException- if the value isnull- Mappings:
 Namespace Name Mixin selector named getOrThrowLnet/minecraft/util/collection/IndexedIterable;getOrThrow(I)Ljava/lang/Object;intermediary method_39974Lnet/minecraft/class_2359;method_39974(I)Ljava/lang/Object;official bLjq;b(I)Ljava/lang/Object;
 - 
getRawIdOrThrow
- Mappings:
 Namespace Name Mixin selector named getRawIdOrThrowLnet/minecraft/util/collection/IndexedIterable;getRawIdOrThrow(Ljava/lang/Object;)Iintermediary method_56158Lnet/minecraft/class_2359;method_56158(Ljava/lang/Object;)Iofficial cLjq;c(Ljava/lang/Object;)I
 - 
size
int size()- Mappings:
 Namespace Name Mixin selector named sizeLnet/minecraft/util/collection/IndexedIterable;size()Iintermediary method_10204Lnet/minecraft/class_2359;method_10204()Iofficial dLjq;d()I
 
 -