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 gr
intermediary net/minecraft/class_2361
named net/minecraft/util/collection/IdList
-
Field Summary
Fields inherited from interface net.minecraft.util.collection.IndexedIterable
ABSENT_RAW_ID
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.util.collection.IndexedIterable
getOrThrow
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
nextId
private int nextId- Mappings:
Namespace Name Mixin selector official b
Lgr;b:I
intermediary field_11099
Lnet/minecraft/class_2361;field_11099:I
named nextId
Lnet/minecraft/util/collection/IdList;nextId:I
-
idMap
- Mappings:
Namespace Name Mixin selector official c
Lgr;c:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary field_11100
Lnet/minecraft/class_2361;field_11100:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
named idMap
Lnet/minecraft/util/collection/IdList;idMap:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
list
- Mappings:
Namespace Name Mixin selector official d
Lgr;d:Ljava/util/List;
intermediary field_11098
Lnet/minecraft/class_2361;field_11098:Ljava/util/List;
named list
Lnet/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>
Lgr;<init>(I)V
intermediary <init>
Lnet/minecraft/class_2361;<init>(I)V
named <init>
Lnet/minecraft/util/collection/IdList;<init>(I)V
-
-
Method Details
-
set
- Mappings:
Namespace Name Mixin selector official a
Lgr;a(Ljava/lang/Object;I)V
intermediary method_10203
Lnet/minecraft/class_2361;method_10203(Ljava/lang/Object;I)V
named set
Lnet/minecraft/util/collection/IdList;set(Ljava/lang/Object;I)V
-
add
- Mappings:
Namespace Name Mixin selector official b
Lgr;b(Ljava/lang/Object;)V
intermediary method_10205
Lnet/minecraft/class_2361;method_10205(Ljava/lang/Object;)V
named add
Lnet/minecraft/util/collection/IdList;add(Ljava/lang/Object;)V
-
getRawId
- Specified by:
getRawId
in interfaceIndexedIterable<T>
- Mappings:
Namespace Name Mixin selector official a
Lgq;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
- Specified by:
get
in interfaceIndexedIterable<T>
- Mappings:
Namespace Name Mixin selector official a
Lgq;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;
-
iterator
-
containsKey
public boolean containsKey(int index) - Mappings:
Namespace Name Mixin selector official c
Lgr;c(I)Z
intermediary method_35841
Lnet/minecraft/class_2361;method_35841(I)Z
named containsKey
Lnet/minecraft/util/collection/IdList;containsKey(I)Z
-
size
public int size()- Specified by:
size
in interfaceIndexedIterable<T>
- Mappings:
Namespace Name Mixin selector official b
Lgq;b()I
intermediary method_10204
Lnet/minecraft/class_2359;method_10204()I
named size
Lnet/minecraft/util/collection/IndexedIterable;size()I
-