Class IdList

java.lang.Object
net.minecraft.util.collection.IdList
All Implemented Interfaces:
Iterable, ObjectIdIterable

public class IdList extends Object implements ObjectIdIterable
Mappings:
Namespace Name
official cs
intermediary net/minecraft/class_1942
named net/minecraft/util/collection/IdList
  • Field Details

    • field_8397

      private gnu.trove.map.hash.TIntIntHashMap field_8397
      Mappings:
      Namespace Name Mixin selector
      official a Lcs;a:Lgnu/trove/map/hash/TIntIntHashMap;
      intermediary field_8397 Lnet/minecraft/class_1942;field_8397:Lgnu/trove/map/hash/TIntIntHashMap;
      named field_8397 Lnet/minecraft/util/collection/IdList;field_8397:Lgnu/trove/map/hash/TIntIntHashMap;
    • list

      private List list
      Mappings:
      Namespace Name Mixin selector
      official b Lcs;b:Ljava/util/List;
      intermediary field_8398 Lnet/minecraft/class_1942;field_8398:Ljava/util/List;
      named list Lnet/minecraft/util/collection/IdList;list:Ljava/util/List;
  • Constructor Details

    • IdList

      public IdList()
  • Method Details

    • set

      public void set(Object value, int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lcs;a(Ljava/lang/Object;I)V
      intermediary method_7323 Lnet/minecraft/class_1942;method_7323(Ljava/lang/Object;I)V
      named set Lnet/minecraft/util/collection/IdList;set(Ljava/lang/Object;I)V
    • getId

      public int getId(Object value)
      Mappings:
      Namespace Name Mixin selector
      official b Lcs;b(Ljava/lang/Object;)I
      intermediary method_7325 Lnet/minecraft/class_1942;method_7325(Ljava/lang/Object;)I
      named getId Lnet/minecraft/util/collection/IdList;getId(Ljava/lang/Object;)I
    • fromId

      public Object fromId(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lcs;a(I)Ljava/lang/Object;
      intermediary method_7322 Lnet/minecraft/class_1942;method_7322(I)Ljava/lang/Object;
      named fromId Lnet/minecraft/util/collection/IdList;fromId(I)Ljava/lang/Object;
    • iterator

      public Iterator iterator()
      Specified by:
      iterator in interface Iterable
      Mappings:
      Namespace Name Mixin selector
      official iterator Lcs;iterator()Ljava/util/Iterator;
      intermediary iterator Lnet/minecraft/class_1942;iterator()Ljava/util/Iterator;
      named iterator Lnet/minecraft/util/collection/IdList;iterator()Ljava/util/Iterator;
    • hasId

      public boolean hasId(int index)
      Mappings:
      Namespace Name Mixin selector
      official b Lcs;b(I)Z
      intermediary method_7324 Lnet/minecraft/class_1942;method_7324(I)Z
      named hasId Lnet/minecraft/util/collection/IdList;hasId(I)Z