Class LongObjectStorage

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

public class LongObjectStorage extends Object
Mappings:
Namespace Name
official ur
intermediary net/minecraft/class_835
named net/minecraft/util/collection/LongObjectStorage
  • Field Details

    • field_3076

      private transient class_836[] field_3076
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a:[Lus;
      intermediary field_3076 Lnet/minecraft/class_835;field_3076:[Lnet/minecraft/class_836;
      named field_3076 Lnet/minecraft/util/collection/LongObjectStorage;field_3076:[Lnet/minecraft/util/collection/class_836;
    • usedEntriesCount

      private transient int usedEntriesCount
      Mappings:
      Namespace Name Mixin selector
      official b Lur;b:I
      intermediary field_3077 Lnet/minecraft/class_835;field_3077:I
      named usedEntriesCount Lnet/minecraft/util/collection/LongObjectStorage;usedEntriesCount:I
    • entriesMask

      private int entriesMask
      Mappings:
      Namespace Name Mixin selector
      official c Lur;c:I
      intermediary field_11854 Lnet/minecraft/class_835;field_11854:I
      named entriesMask Lnet/minecraft/util/collection/LongObjectStorage;entriesMask:I
    • growthLimit

      private int growthLimit
      Mappings:
      Namespace Name Mixin selector
      official d Lur;d:I
      intermediary field_3078 Lnet/minecraft/class_835;field_3078:I
      named growthLimit Lnet/minecraft/util/collection/LongObjectStorage;growthLimit:I
    • growthFactor

      private final float growthFactor
      Mappings:
      Namespace Name Mixin selector
      official e Lur;e:F
      intermediary field_3079 Lnet/minecraft/class_835;field_3079:F
      named growthFactor Lnet/minecraft/util/collection/LongObjectStorage;growthFactor:F
    • size

      private transient volatile int size
      Mappings:
      Namespace Name Mixin selector
      official f Lur;f:I
      intermediary field_3080 Lnet/minecraft/class_835;field_3080:I
      named size Lnet/minecraft/util/collection/LongObjectStorage;size:I
  • Constructor Details

    • LongObjectStorage

      public LongObjectStorage()
  • Method Details

    • hash

      private static int hash(long l)
      Mappings:
      Namespace Name Mixin selector
      official g Lur;g(J)I
      intermediary method_2330 Lnet/minecraft/class_835;method_2330(J)I
      named hash Lnet/minecraft/util/collection/LongObjectStorage;hash(J)I
    • hash

      private static int hash(int i)
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a(I)I
      intermediary method_2318 Lnet/minecraft/class_835;method_2318(I)I
      named hash Lnet/minecraft/util/collection/LongObjectStorage;hash(I)I
    • getEntryIndex

      private static int getEntryIndex(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a(II)I
      intermediary method_2319 Lnet/minecraft/class_835;method_2319(II)I
      named getEntryIndex Lnet/minecraft/util/collection/LongObjectStorage;getEntryIndex(II)I
    • getUsedEntriesCount

      public int getUsedEntriesCount()
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a()I
      intermediary method_2317 Lnet/minecraft/class_835;method_2317()I
      named getUsedEntriesCount Lnet/minecraft/util/collection/LongObjectStorage;getUsedEntriesCount()I
    • get

      public Object get(long key)
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a(J)Ljava/lang/Object;
      intermediary method_2321 Lnet/minecraft/class_835;method_2321(J)Ljava/lang/Object;
      named get Lnet/minecraft/util/collection/LongObjectStorage;get(J)Ljava/lang/Object;
    • contains

      public boolean contains(long key)
      Mappings:
      Namespace Name Mixin selector
      official b Lur;b(J)Z
      intermediary method_2325 Lnet/minecraft/class_835;method_2325(J)Z
      named contains Lnet/minecraft/util/collection/LongObjectStorage;contains(J)Z
    • method_2326

      final class_836 method_2326(long long2)
      Mappings:
      Namespace Name Mixin selector
      official c Lur;c(J)Lus;
      intermediary method_2326 Lnet/minecraft/class_835;method_2326(J)Lnet/minecraft/class_836;
      named method_2326 Lnet/minecraft/util/collection/LongObjectStorage;method_2326(J)Lnet/minecraft/util/collection/class_836;
    • set

      public void set(long key, Object value)
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a(JLjava/lang/Object;)V
      intermediary method_2322 Lnet/minecraft/class_835;method_2322(JLjava/lang/Object;)V
      named set Lnet/minecraft/util/collection/LongObjectStorage;set(JLjava/lang/Object;)V
    • expand

      private void expand(int newSize)
      Mappings:
      Namespace Name Mixin selector
      official b Lur;b(I)V
      intermediary method_2324 Lnet/minecraft/class_835;method_2324(I)V
      named expand Lnet/minecraft/util/collection/LongObjectStorage;expand(I)V
    • method_2323

      private void method_2323(class_836[] class_836)
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a([Lus;)V
      intermediary method_2323 Lnet/minecraft/class_835;method_2323([Lnet/minecraft/class_836;)V
      named method_2323 Lnet/minecraft/util/collection/LongObjectStorage;method_2323([Lnet/minecraft/util/collection/class_836;)V
    • remove

      public Object remove(long key)
      Mappings:
      Namespace Name Mixin selector
      official d Lur;d(J)Ljava/lang/Object;
      intermediary method_2327 Lnet/minecraft/class_835;method_2327(J)Ljava/lang/Object;
      named remove Lnet/minecraft/util/collection/LongObjectStorage;remove(J)Ljava/lang/Object;
    • method_2328

      final class_836 method_2328(long long2)
      Mappings:
      Namespace Name Mixin selector
      official e Lur;e(J)Lus;
      intermediary method_2328 Lnet/minecraft/class_835;method_2328(J)Lnet/minecraft/class_836;
      named method_2328 Lnet/minecraft/util/collection/LongObjectStorage;method_2328(J)Lnet/minecraft/util/collection/class_836;
    • insert

      private void insert(int hash, long key, Object value, int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a(IJLjava/lang/Object;I)V
      intermediary method_2320 Lnet/minecraft/class_835;method_2320(IJLjava/lang/Object;I)V
      named insert Lnet/minecraft/util/collection/LongObjectStorage;insert(IJLjava/lang/Object;I)V