Package net.minecraft.util.collection
Class IdList<T>
java.lang.Object
net.minecraft.util.collection.IdList<T>
- All Implemented Interfaces:
Iterable<T>,IndexedIterable<T>
- Mappings:
Namespace Name official hkintermediary net/minecraft/class_2361named net/minecraft/util/collection/IdList
-
Field Summary
FieldsFields inherited from interface net.minecraft.util.collection.IndexedIterable
ABSENT_RAW_ID -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.util.collection.IndexedIterable
getOrThrowMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
nextId
private int nextId- Mappings:
Namespace Name Mixin selector official bLhk;b:Iintermediary field_11099Lnet/minecraft/class_2361;field_11099:Inamed nextIdLnet/minecraft/util/collection/IdList;nextId:I
-
idMap
- Mappings:
Namespace Name Mixin selector official cLhk;c:Lit/unimi/dsi/fastutil/objects/Object2IntMap;intermediary field_11100Lnet/minecraft/class_2361;field_11100:Lit/unimi/dsi/fastutil/objects/Object2IntMap;named idMapLnet/minecraft/util/collection/IdList;idMap:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
list
- Mappings:
Namespace Name Mixin selector official dLhk;d:Ljava/util/List;intermediary field_11098Lnet/minecraft/class_2361;field_11098:Ljava/util/List;named listLnet/minecraft/util/collection/IdList;list:Ljava/util/List;
-
-
Constructor Details
-
IdList
public IdList() -
IdList
public IdList(int initialSize) - Mappings:
Namespace Name Mixin selector official <init>Lhk;<init>(I)Vintermediary <init>Lnet/minecraft/class_2361;<init>(I)Vnamed <init>Lnet/minecraft/util/collection/IdList;<init>(I)V
-
-
Method Details
-
set
- Mappings:
Namespace Name Mixin selector official aLhk;a(Ljava/lang/Object;I)Vintermediary method_10203Lnet/minecraft/class_2361;method_10203(Ljava/lang/Object;I)Vnamed setLnet/minecraft/util/collection/IdList;set(Ljava/lang/Object;I)V
-
add
- Mappings:
Namespace Name Mixin selector official bLhk;b(Ljava/lang/Object;)Vintermediary method_10205Lnet/minecraft/class_2361;method_10205(Ljava/lang/Object;)Vnamed addLnet/minecraft/util/collection/IdList;add(Ljava/lang/Object;)V
-
getRawId
- Specified by:
getRawIdin interfaceIndexedIterable<T>- 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
- Specified by:
getin interfaceIndexedIterable<T>- 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;
-
iterator
-
containsKey
public boolean containsKey(int index) - Mappings:
Namespace Name Mixin selector official cLhk;c(I)Zintermediary method_35841Lnet/minecraft/class_2361;method_35841(I)Znamed containsKeyLnet/minecraft/util/collection/IdList;containsKey(I)Z
-
size
public int size()- Specified by:
sizein interfaceIndexedIterable<T>- Mappings:
Namespace Name Mixin selector official bLhj;b()Iintermediary method_10204Lnet/minecraft/class_2359;method_10204()Inamed sizeLnet/minecraft/util/collection/IndexedIterable;size()I
-