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
public abstract class ChunkToNibbleArrayMap<M extends ChunkToNibbleArrayMap<M>> extends Object
- Mappings:
Namespace Name official czwintermediary net/minecraft/class_3556named net/minecraft/world/chunk/ChunkToNibbleArrayMap
-
Field Summary
Fields Modifier and Type Field Description protected Long2ObjectOpenHashMap<ChunkNibbleArray>arraysprivate ChunkNibbleArray[]cacheArraysprivate booleancacheEnabledprivate long[]cachePositions -
Constructor Summary
Constructors Modifier Constructor Description protectedChunkToNibbleArrayMap(Long2ObjectOpenHashMap<ChunkNibbleArray> arrays) -
Method Summary
Modifier and Type Method Description voidclearCache()booleancontainsKey(long chunkPos)abstract Mcopy()voiddisableCache()ChunkNibbleArrayget(long chunkPos)voidput(long pos, ChunkNibbleArray data)ChunkNibbleArrayremoveChunk(long chunkPos)voidreplaceWithCopy(long pos)
-
Field Details
-
cachePositions
private final long[] cachePositions- Mappings:
Namespace Name Mixin selector official bLczw;b:[Jintermediary field_15789Lnet/minecraft/class_3556;field_15789:[Jnamed cachePositionsLnet/minecraft/world/chunk/ChunkToNibbleArrayMap;cachePositions:[J
-
cacheArrays
- Mappings:
Namespace Name Mixin selector official cLczw;c:[Lcjq;intermediary field_15790Lnet/minecraft/class_3556;field_15790:[Lnet/minecraft/class_2804;named cacheArraysLnet/minecraft/world/chunk/ChunkToNibbleArrayMap;cacheArrays:[Lnet/minecraft/world/chunk/ChunkNibbleArray;
-
cacheEnabled
private boolean cacheEnabled- Mappings:
Namespace Name Mixin selector official dLczw;d:Zintermediary field_16447Lnet/minecraft/class_3556;field_16447:Znamed cacheEnabledLnet/minecraft/world/chunk/ChunkToNibbleArrayMap;cacheEnabled:Z
-
arrays
- Mappings:
Namespace Name Mixin selector official aLczw;a:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;intermediary field_15791Lnet/minecraft/class_3556;field_15791:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;named arraysLnet/minecraft/world/chunk/ChunkToNibbleArrayMap;arrays:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
-
-
Constructor Details
-
ChunkToNibbleArrayMap
- Mappings:
Namespace Name Mixin selector official <init>Lczw;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)Vintermediary <init>Lnet/minecraft/class_3556;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)Vnamed <init>Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)V
-
-
Method Details
-
copy
- Mappings:
Namespace Name Mixin selector official bLczw;b()Lczw;intermediary method_15504Lnet/minecraft/class_3556;method_15504()Lnet/minecraft/class_3556;named copyLnet/minecraft/world/chunk/ChunkToNibbleArrayMap;copy()Lnet/minecraft/world/chunk/ChunkToNibbleArrayMap;
-
replaceWithCopy
public void replaceWithCopy(long pos)- Mappings:
Namespace Name Mixin selector official aLczw;a(J)Vintermediary method_15502Lnet/minecraft/class_3556;method_15502(J)Vnamed replaceWithCopyLnet/minecraft/world/chunk/ChunkToNibbleArrayMap;replaceWithCopy(J)V
-
containsKey
public boolean containsKey(long chunkPos)- Mappings:
Namespace Name Mixin selector official bLczw;b(J)Zintermediary method_15503Lnet/minecraft/class_3556;method_15503(J)Znamed containsKeyLnet/minecraft/world/chunk/ChunkToNibbleArrayMap;containsKey(J)Z
-
get
- Mappings:
Namespace Name Mixin selector official cLczw;c(J)Lcjq;intermediary method_15501Lnet/minecraft/class_3556;method_15501(J)Lnet/minecraft/class_2804;named getLnet/minecraft/world/chunk/ChunkToNibbleArrayMap;get(J)Lnet/minecraft/world/chunk/ChunkNibbleArray;
-
removeChunk
- Mappings:
Namespace Name Mixin selector official dLczw;d(J)Lcjq;intermediary method_15500Lnet/minecraft/class_3556;method_15500(J)Lnet/minecraft/class_2804;named removeChunkLnet/minecraft/world/chunk/ChunkToNibbleArrayMap;removeChunk(J)Lnet/minecraft/world/chunk/ChunkNibbleArray;
-
put
- Mappings:
Namespace Name Mixin selector official aLczw;a(JLcjq;)Vintermediary method_15499Lnet/minecraft/class_3556;method_15499(JLnet/minecraft/class_2804;)Vnamed putLnet/minecraft/world/chunk/ChunkToNibbleArrayMap;put(JLnet/minecraft/world/chunk/ChunkNibbleArray;)V
-
clearCache
public void clearCache()- Mappings:
Namespace Name Mixin selector official cLczw;c()Vintermediary method_15505Lnet/minecraft/class_3556;method_15505()Vnamed clearCacheLnet/minecraft/world/chunk/ChunkToNibbleArrayMap;clearCache()V
-
disableCache
public void disableCache()- Mappings:
Namespace Name Mixin selector official dLczw;d()Vintermediary method_16188Lnet/minecraft/class_3556;method_16188()Vnamed disableCacheLnet/minecraft/world/chunk/ChunkToNibbleArrayMap;disableCache()V
-