Package net.minecraft.world.chunk
Class ChunkNibbleArray
java.lang.Object
net.minecraft.world.chunk.ChunkNibbleArray
- Direct Known Subclasses:
ColumnChunkNibbleArray
- Mappings:
Namespace Name official cmq
intermediary net/minecraft/class_2804
named net/minecraft/world/chunk/ChunkNibbleArray
-
Field Summary
Modifier and TypeFieldDescriptionprotected @org.jetbrains.annotations.Nullable byte[]
static final int
static final int
private static final int
-
Constructor Summary
ModifierConstructorDescriptionChunkNibbleArray
(byte[] bytes) protected
ChunkNibbleArray
(int size) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
copy()
private int
divideByTwo
(int n) private int
get
(int index) int
get
(int x, int y, int z) protected int
getIndex
(int x, int y, int z) private boolean
isEven
(int n) boolean
method_35320
(int int2) private void
set
(int index, int value) void
set
(int x, int y, int z, int value) toString()
-
Field Details
-
field_31403
public static final int field_31403- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lcmq;a:I
intermediary field_31403
Lnet/minecraft/class_2804;field_31403:I
named field_31403
Lnet/minecraft/world/chunk/ChunkNibbleArray;field_31403:I
-
field_31404
public static final int field_31404- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lcmq;b:I
intermediary field_31404
Lnet/minecraft/class_2804;field_31404:I
named field_31404
Lnet/minecraft/world/chunk/ChunkNibbleArray;field_31404:I
-
field_31405
private static final int field_31405- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lcmq;d:I
intermediary field_31405
Lnet/minecraft/class_2804;field_31405:I
named field_31405
Lnet/minecraft/world/chunk/ChunkNibbleArray;field_31405:I
-
bytes
- Mappings:
Namespace Name Mixin selector official c
Lcmq;c:[B
intermediary field_12783
Lnet/minecraft/class_2804;field_12783:[B
named bytes
Lnet/minecraft/world/chunk/ChunkNibbleArray;bytes:[B
-
-
Constructor Details
-
ChunkNibbleArray
public ChunkNibbleArray() -
ChunkNibbleArray
public ChunkNibbleArray(byte[] bytes) - Mappings:
Namespace Name Mixin selector official <init>
Lcmq;<init>([B)V
intermediary <init>
Lnet/minecraft/class_2804;<init>([B)V
named <init>
Lnet/minecraft/world/chunk/ChunkNibbleArray;<init>([B)V
-
ChunkNibbleArray
protected ChunkNibbleArray(int size) - Mappings:
Namespace Name Mixin selector official <init>
Lcmq;<init>(I)V
intermediary <init>
Lnet/minecraft/class_2804;<init>(I)V
named <init>
Lnet/minecraft/world/chunk/ChunkNibbleArray;<init>(I)V
-
-
Method Details
-
get
public int get(int x, int y, int z) - Mappings:
Namespace Name Mixin selector official a
Lcmq;a(III)I
intermediary method_12139
Lnet/minecraft/class_2804;method_12139(III)I
named get
Lnet/minecraft/world/chunk/ChunkNibbleArray;get(III)I
-
set
public void set(int x, int y, int z, int value) - Mappings:
Namespace Name Mixin selector official a
Lcmq;a(IIII)V
intermediary method_12145
Lnet/minecraft/class_2804;method_12145(IIII)V
named set
Lnet/minecraft/world/chunk/ChunkNibbleArray;set(IIII)V
-
getIndex
protected int getIndex(int x, int y, int z) - Mappings:
Namespace Name Mixin selector official b
Lcmq;b(III)I
intermediary method_12140
Lnet/minecraft/class_2804;method_12140(III)I
named getIndex
Lnet/minecraft/world/chunk/ChunkNibbleArray;getIndex(III)I
-
get
private int get(int index) - Mappings:
Namespace Name Mixin selector official b
Lcmq;b(I)I
intermediary method_12141
Lnet/minecraft/class_2804;method_12141(I)I
named get
Lnet/minecraft/world/chunk/ChunkNibbleArray;get(I)I
-
set
private void set(int index, int value) - Mappings:
Namespace Name Mixin selector official a
Lcmq;a(II)V
intermediary method_12142
Lnet/minecraft/class_2804;method_12142(II)V
named set
Lnet/minecraft/world/chunk/ChunkNibbleArray;set(II)V
-
isEven
private boolean isEven(int n) - Mappings:
Namespace Name Mixin selector official c
Lcmq;c(I)Z
intermediary method_12143
Lnet/minecraft/class_2804;method_12143(I)Z
named isEven
Lnet/minecraft/world/chunk/ChunkNibbleArray;isEven(I)Z
-
divideByTwo
private int divideByTwo(int n) - Mappings:
Namespace Name Mixin selector official d
Lcmq;d(I)I
intermediary method_12138
Lnet/minecraft/class_2804;method_12138(I)I
named divideByTwo
Lnet/minecraft/world/chunk/ChunkNibbleArray;divideByTwo(I)I
-
asByteArray
public byte[] asByteArray()- Mappings:
Namespace Name Mixin selector official a
Lcmq;a()[B
intermediary method_12137
Lnet/minecraft/class_2804;method_12137()[B
named asByteArray
Lnet/minecraft/world/chunk/ChunkNibbleArray;asByteArray()[B
-
copy
- Mappings:
Namespace Name Mixin selector official b
Lcmq;b()Lcmq;
intermediary method_12144
Lnet/minecraft/class_2804;method_12144()Lnet/minecraft/class_2804;
named copy
Lnet/minecraft/world/chunk/ChunkNibbleArray;copy()Lnet/minecraft/world/chunk/ChunkNibbleArray;
-
toString
-
method_35320
- Mappings:
Namespace Name Mixin selector official a
Lcmq;a(I)Ljava/lang/String;
intermediary method_35320
Lnet/minecraft/class_2804;method_35320(I)Ljava/lang/String;
named method_35320
Lnet/minecraft/world/chunk/ChunkNibbleArray;method_35320(I)Ljava/lang/String;
-
isUninitialized
public boolean isUninitialized()- Mappings:
Namespace Name Mixin selector official c
Lcmq;c()Z
intermediary method_12146
Lnet/minecraft/class_2804;method_12146()Z
named isUninitialized
Lnet/minecraft/world/chunk/ChunkNibbleArray;isUninitialized()Z
-