Class Class2IntMap

java.lang.Object
net.minecraft.util.collection.Class2IntMap

public class Class2IntMap extends Object
A map with Classes as keys and an integer as values. If the entry for the provided class does not exist, then it recursively checks their superclasses.
Mappings:
Namespace Name
named net/minecraft/util/collection/Class2IntMap
intermediary net/minecraft/class_9227
official axg
  • Field Details

    • MISSING

      public static final int MISSING
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MISSING Lnet/minecraft/util/collection/Class2IntMap;MISSING:I
      intermediary field_49052 Lnet/minecraft/class_9227;field_49052:I
      official a Laxg;a:I
    • backingMap

      private final Object2IntMap<Class<?>> backingMap
      Mappings:
      Namespace Name Mixin selector
      named backingMap Lnet/minecraft/util/collection/Class2IntMap;backingMap:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      intermediary field_49053 Lnet/minecraft/class_9227;field_49053:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      official b Laxg;b:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
  • Constructor Details

    • Class2IntMap

      public Class2IntMap()
  • Method Details

    • get

      public int get(Class<?> clazz)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/util/collection/Class2IntMap;get(Ljava/lang/Class;)I
      intermediary method_56939 Lnet/minecraft/class_9227;method_56939(Ljava/lang/Class;)I
      official a Laxg;a(Ljava/lang/Class;)I
    • getNext

      public int getNext(Class<?> clazz)
      Mappings:
      Namespace Name Mixin selector
      named getNext Lnet/minecraft/util/collection/Class2IntMap;getNext(Ljava/lang/Class;)I
      intermediary method_56940 Lnet/minecraft/class_9227;method_56940(Ljava/lang/Class;)I
      official b Laxg;b(Ljava/lang/Class;)I
    • put

      public int put(Class<?> clazz)
      Mappings:
      Namespace Name Mixin selector
      named put Lnet/minecraft/util/collection/Class2IntMap;put(Ljava/lang/Class;)I
      intermediary method_56941 Lnet/minecraft/class_9227;method_56941(Ljava/lang/Class;)I
      official c Laxg;c(Ljava/lang/Class;)I