Package net.minecraft.util.collection
Class PackedIntegerArray
java.lang.Object
net.minecraft.util.collection.PackedIntegerArray
public class PackedIntegerArray extends Object
- Mappings:
Namespace Name official afi
intermediary net/minecraft/class_3508
named net/minecraft/util/collection/PackedIntegerArray
-
Field Summary
Fields Modifier and Type Field Description private int
elementBits
private static int[]
field_24078
private int
field_24079
private int
field_24080
private int
field_24081
private int
field_24082
private long
maxValue
private int
size
private long[]
storage
-
Constructor Summary
Constructors Constructor Description PackedIntegerArray(int elementBits, int size)
PackedIntegerArray(int elementBits, int size, long[] storage)
-
Method Summary
Modifier and Type Method Description void
forEach(IntConsumer consumer)
int
get(int index)
int
getSize()
long[]
getStorage()
private int
method_27284(int int2)
void
set(int index, int value)
int
setAndGetOldValue(int index, int value)
-
Field Details
-
field_24078
private static final int[] field_24078- Mappings:
Namespace Name Mixin selector official a
Lafi;a:[I
intermediary field_24078
Lnet/minecraft/class_3508;field_24078:[I
named field_24078
Lnet/minecraft/util/collection/PackedIntegerArray;field_24078:[I
-
storage
private final long[] storage- Mappings:
Namespace Name Mixin selector official b
Lafi;b:[J
intermediary field_15631
Lnet/minecraft/class_3508;field_15631:[J
named storage
Lnet/minecraft/util/collection/PackedIntegerArray;storage:[J
-
elementBits
private final int elementBits- Mappings:
Namespace Name Mixin selector official c
Lafi;c:I
intermediary field_15633
Lnet/minecraft/class_3508;field_15633:I
named elementBits
Lnet/minecraft/util/collection/PackedIntegerArray;elementBits:I
-
maxValue
private final long maxValue- Mappings:
Namespace Name Mixin selector official d
Lafi;d:J
intermediary field_15634
Lnet/minecraft/class_3508;field_15634:J
named maxValue
Lnet/minecraft/util/collection/PackedIntegerArray;maxValue:J
-
size
private final int size- Mappings:
Namespace Name Mixin selector official e
Lafi;e:I
intermediary field_15632
Lnet/minecraft/class_3508;field_15632:I
named size
Lnet/minecraft/util/collection/PackedIntegerArray;size:I
-
field_24079
private final int field_24079- Mappings:
Namespace Name Mixin selector official f
Lafi;f:I
intermediary field_24079
Lnet/minecraft/class_3508;field_24079:I
named field_24079
Lnet/minecraft/util/collection/PackedIntegerArray;field_24079:I
-
field_24080
private final int field_24080- Mappings:
Namespace Name Mixin selector official g
Lafi;g:I
intermediary field_24080
Lnet/minecraft/class_3508;field_24080:I
named field_24080
Lnet/minecraft/util/collection/PackedIntegerArray;field_24080:I
-
field_24081
private final int field_24081- Mappings:
Namespace Name Mixin selector official h
Lafi;h:I
intermediary field_24081
Lnet/minecraft/class_3508;field_24081:I
named field_24081
Lnet/minecraft/util/collection/PackedIntegerArray;field_24081:I
-
field_24082
private final int field_24082- Mappings:
Namespace Name Mixin selector official i
Lafi;i:I
intermediary field_24082
Lnet/minecraft/class_3508;field_24082:I
named field_24082
Lnet/minecraft/util/collection/PackedIntegerArray;field_24082:I
-
-
Constructor Details
-
PackedIntegerArray
public PackedIntegerArray(int elementBits, int size)- Mappings:
Namespace Name Mixin selector official <init>
Lafi;<init>(II)V
intermediary <init>
Lnet/minecraft/class_3508;<init>(II)V
named <init>
Lnet/minecraft/util/collection/PackedIntegerArray;<init>(II)V
-
PackedIntegerArray
- Mappings:
Namespace Name Mixin selector official <init>
Lafi;<init>(II[J)V
intermediary <init>
Lnet/minecraft/class_3508;<init>(II[J)V
named <init>
Lnet/minecraft/util/collection/PackedIntegerArray;<init>(II[J)V
-
-
Method Details
-
method_27284
private int method_27284(int int2)- Mappings:
Namespace Name Mixin selector official b
Lafi;b(I)I
intermediary method_27284
Lnet/minecraft/class_3508;method_27284(I)I
named method_27284
Lnet/minecraft/util/collection/PackedIntegerArray;method_27284(I)I
-
setAndGetOldValue
public int setAndGetOldValue(int index, int value)- Mappings:
Namespace Name Mixin selector official a
Lafi;a(II)I
intermediary method_15214
Lnet/minecraft/class_3508;method_15214(II)I
named setAndGetOldValue
Lnet/minecraft/util/collection/PackedIntegerArray;setAndGetOldValue(II)I
-
set
public void set(int index, int value)- Mappings:
Namespace Name Mixin selector official b
Lafi;b(II)V
intermediary method_15210
Lnet/minecraft/class_3508;method_15210(II)V
named set
Lnet/minecraft/util/collection/PackedIntegerArray;set(II)V
-
get
public int get(int index)- Mappings:
Namespace Name Mixin selector official a
Lafi;a(I)I
intermediary method_15211
Lnet/minecraft/class_3508;method_15211(I)I
named get
Lnet/minecraft/util/collection/PackedIntegerArray;get(I)I
-
getStorage
public long[] getStorage()- Mappings:
Namespace Name Mixin selector official a
Lafi;a()[J
intermediary method_15212
Lnet/minecraft/class_3508;method_15212()[J
named getStorage
Lnet/minecraft/util/collection/PackedIntegerArray;getStorage()[J
-
getSize
public int getSize()- Mappings:
Namespace Name Mixin selector official b
Lafi;b()I
intermediary method_15215
Lnet/minecraft/class_3508;method_15215()I
named getSize
Lnet/minecraft/util/collection/PackedIntegerArray;getSize()I
-
forEach
- Mappings:
Namespace Name Mixin selector official a
Lafi;a(Ljava/util/function/IntConsumer;)V
intermediary method_21739
Lnet/minecraft/class_3508;method_21739(Ljava/util/function/IntConsumer;)V
named forEach
Lnet/minecraft/util/collection/PackedIntegerArray;forEach(Ljava/util/function/IntConsumer;)V
-