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 hi
intermediary net/minecraft/class_2359
named net/minecraft/util/collection/IndexedIterable
-
Field Summary
-
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 a
Lhi;a:I
intermediary field_34829
Lnet/minecraft/class_2359;field_34829:I
named ABSENT_RAW_ID
Lnet/minecraft/util/collection/IndexedIterable;ABSENT_RAW_ID:I
-
-
Method Details
-
getRawId
- Mappings:
Namespace Name Mixin selector official a
Lhi;a(Ljava/lang/Object;)I
intermediary method_10206
Lnet/minecraft/class_2359;method_10206(Ljava/lang/Object;)I
named getRawId
Lnet/minecraft/util/collection/IndexedIterable;getRawId(Ljava/lang/Object;)I
-
get
- Mappings:
Namespace Name Mixin selector official a
Lhi;a(I)Ljava/lang/Object;
intermediary method_10200
Lnet/minecraft/class_2359;method_10200(I)Ljava/lang/Object;
named get
Lnet/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 b
Lhi;b(I)Ljava/lang/Object;
intermediary method_39974
Lnet/minecraft/class_2359;method_39974(I)Ljava/lang/Object;
named getOrThrow
Lnet/minecraft/util/collection/IndexedIterable;getOrThrow(I)Ljava/lang/Object;
-
size
int size()- Mappings:
Namespace Name Mixin selector official b
Lhi;b()I
intermediary method_10204
Lnet/minecraft/class_2359;method_10204()I
named size
Lnet/minecraft/util/collection/IndexedIterable;size()I
-