Package net.minecraft.world.chunk
Class ChunkToNibbleArrayMap<M extends ChunkToNibbleArrayMap<M>>
java.lang.Object
net.minecraft.world.chunk.ChunkToNibbleArrayMap<M>
- Direct Known Subclasses:
BlockLightStorage.Data
,SkyLightStorage.Data
- Mappings:
Namespace Name named net/minecraft/world/chunk/ChunkToNibbleArrayMap
intermediary net/minecraft/class_3556
official enh
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Long2ObjectOpenHashMap
<ChunkNibbleArray> private final ChunkNibbleArray[]
private boolean
private final long[]
private static final int
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
containsKey
(long chunkPos) abstract M
copy()
void
get
(long chunkPos) void
put
(long pos, ChunkNibbleArray data) removeChunk
(long chunkPos) replaceWithCopy
(long pos)
-
Field Details
-
field_31705
private static final int field_31705- See Also:
- Mappings:
Namespace Name Mixin selector named field_31705
Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;field_31705:I
intermediary field_31705
Lnet/minecraft/class_3556;field_31705:I
official b
Lenh;b:I
-
cachePositions
private final long[] cachePositions- Mappings:
Namespace Name Mixin selector named cachePositions
Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;cachePositions:[J
intermediary field_15789
Lnet/minecraft/class_3556;field_15789:[J
official c
Lenh;c:[J
-
cacheArrays
- Mappings:
Namespace Name Mixin selector named cacheArrays
Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;cacheArrays:[Lnet/minecraft/world/chunk/ChunkNibbleArray;
intermediary field_15790
Lnet/minecraft/class_3556;field_15790:[Lnet/minecraft/class_2804;
official d
Lenh;d:[Ldue;
-
cacheEnabled
private boolean cacheEnabled- Mappings:
Namespace Name Mixin selector named cacheEnabled
Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;cacheEnabled:Z
intermediary field_16447
Lnet/minecraft/class_3556;field_16447:Z
official e
Lenh;e:Z
-
arrays
- Mappings:
Namespace Name Mixin selector named arrays
Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;arrays:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
intermediary field_15791
Lnet/minecraft/class_3556;field_15791:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
official a
Lenh;a:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
-
-
Constructor Details
-
ChunkToNibbleArrayMap
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)V
intermediary <init>
Lnet/minecraft/class_3556;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)V
official <init>
Lenh;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)V
-
-
Method Details
-
copy
- Mappings:
Namespace Name Mixin selector named copy
Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;copy()Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;
intermediary method_15504
Lnet/minecraft/class_3556;method_15504()Lnet/minecraft/class_3556;
official b
Lenh;b()Lenh;
-
replaceWithCopy
- Mappings:
Namespace Name Mixin selector named replaceWithCopy
Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;replaceWithCopy(J)Lnet/minecraft/world/chunk/ChunkNibbleArray;
intermediary method_15502
Lnet/minecraft/class_3556;method_15502(J)Lnet/minecraft/class_2804;
official a
Lenh;a(J)Ldue;
-
containsKey
public boolean containsKey(long chunkPos) - Mappings:
Namespace Name Mixin selector named containsKey
Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;containsKey(J)Z
intermediary method_15503
Lnet/minecraft/class_3556;method_15503(J)Z
official b
Lenh;b(J)Z
-
get
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;get(J)Lnet/minecraft/world/chunk/ChunkNibbleArray;
intermediary method_15501
Lnet/minecraft/class_3556;method_15501(J)Lnet/minecraft/class_2804;
official c
Lenh;c(J)Ldue;
-
removeChunk
- Mappings:
Namespace Name Mixin selector named removeChunk
Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;removeChunk(J)Lnet/minecraft/world/chunk/ChunkNibbleArray;
intermediary method_15500
Lnet/minecraft/class_3556;method_15500(J)Lnet/minecraft/class_2804;
official d
Lenh;d(J)Ldue;
-
put
- Mappings:
Namespace Name Mixin selector named put
Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;put(JLnet/minecraft/world/chunk/ChunkNibbleArray;)V
intermediary method_15499
Lnet/minecraft/class_3556;method_15499(JLnet/minecraft/class_2804;)V
official a
Lenh;a(JLdue;)V
-
clearCache
public void clearCache()- Mappings:
Namespace Name Mixin selector named clearCache
Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;clearCache()V
intermediary method_15505
Lnet/minecraft/class_3556;method_15505()V
official c
Lenh;c()V
-
disableCache
public void disableCache()- Mappings:
Namespace Name Mixin selector named disableCache
Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;disableCache()V
intermediary method_16188
Lnet/minecraft/class_3556;method_16188()V
official d
Lenh;d()V
-