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 official hjintermediary net/minecraft/class_2359named net/minecraft/util/collection/IndexedIterable
- 
Field Summary
Fields - 
Method Summary
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 official aLhj;a:Iintermediary field_34829Lnet/minecraft/class_2359;field_34829:Inamed ABSENT_RAW_IDLnet/minecraft/util/collection/IndexedIterable;ABSENT_RAW_ID:I
 
 - 
 - 
Method Details
- 
getRawId
- Mappings:
 Namespace Name Mixin selector official aLhj;a(Ljava/lang/Object;)Iintermediary method_10206Lnet/minecraft/class_2359;method_10206(Ljava/lang/Object;)Inamed getRawIdLnet/minecraft/util/collection/IndexedIterable;getRawId(Ljava/lang/Object;)I
 - 
get
- Mappings:
 Namespace Name Mixin selector official aLhj;a(I)Ljava/lang/Object;intermediary method_10200Lnet/minecraft/class_2359;method_10200(I)Ljava/lang/Object;named getLnet/minecraft/util/collection/IndexedIterable;get(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 official bLhj;b(I)Ljava/lang/Object;intermediary method_39974Lnet/minecraft/class_2359;method_39974(I)Ljava/lang/Object;named getOrThrowLnet/minecraft/util/collection/IndexedIterable;getOrThrow(I)Ljava/lang/Object;
 - 
size
int size()- Mappings:
 Namespace Name Mixin selector official bLhj;b()Iintermediary method_10204Lnet/minecraft/class_2359;method_10204()Inamed sizeLnet/minecraft/util/collection/IndexedIterable;size()I
 
 -