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 named net/minecraft/util/collection/IdListintermediary net/minecraft/class_2361official js
-
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
getOrThrow, getRawIdOrThrowMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
nextId
private int nextId- Mappings:
Namespace Name Mixin selector named nextIdLnet/minecraft/util/collection/IdList;nextId:Iintermediary field_11099Lnet/minecraft/class_2361;field_11099:Iofficial bLjs;b:I
-
idMap
- Mappings:
Namespace Name Mixin selector named idMapLnet/minecraft/util/collection/IdList;idMap:Lit/unimi/dsi/fastutil/objects/Reference2IntMap;intermediary field_11100Lnet/minecraft/class_2361;field_11100:Lit/unimi/dsi/fastutil/objects/Reference2IntMap;official cLjs;c:Lit/unimi/dsi/fastutil/objects/Reference2IntMap;
-
list
- Mappings:
Namespace Name Mixin selector named listLnet/minecraft/util/collection/IdList;list:Ljava/util/List;intermediary field_11098Lnet/minecraft/class_2361;field_11098:Ljava/util/List;official dLjs;d:Ljava/util/List;
-
-
Constructor Details
-
IdList
public IdList() -
IdList
public IdList(int initialSize) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/util/collection/IdList;<init>(I)Vintermediary <init>Lnet/minecraft/class_2361;<init>(I)Vofficial <init>Ljs;<init>(I)V
-
-
Method Details
-
set
- Mappings:
Namespace Name Mixin selector named setLnet/minecraft/util/collection/IdList;set(Ljava/lang/Object;I)Vintermediary method_10203Lnet/minecraft/class_2361;method_10203(Ljava/lang/Object;I)Vofficial aLjs;a(Ljava/lang/Object;I)V
-
add
- Mappings:
Namespace Name Mixin selector named addLnet/minecraft/util/collection/IdList;add(Ljava/lang/Object;)Vintermediary method_10205Lnet/minecraft/class_2361;method_10205(Ljava/lang/Object;)Vofficial bLjs;b(Ljava/lang/Object;)V
-
getRawId
- Specified by:
getRawIdin interfaceIndexedIterable<T>- 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 aLjr;a(Ljava/lang/Object;)I
-
get
- Specified by:
getin interfaceIndexedIterable<T>- 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 aLjr;a(I)Ljava/lang/Object;
-
iterator
-
containsKey
public boolean containsKey(int index) - Mappings:
Namespace Name Mixin selector named containsKeyLnet/minecraft/util/collection/IdList;containsKey(I)Zintermediary method_35841Lnet/minecraft/class_2361;method_35841(I)Zofficial cLjs;c(I)Z
-
size
public int size()- Specified by:
sizein interfaceIndexedIterable<T>- Mappings:
Namespace Name Mixin selector named sizeLnet/minecraft/util/collection/IndexedIterable;size()Iintermediary method_10204Lnet/minecraft/class_2359;method_10204()Iofficial cLjr;c()I
-