Package net.minecraft.client.world
Class BiomeColorCache
java.lang.Object
net.minecraft.client.world.BiomeColorCache
- Mappings:
Namespace Name official dwf
intermediary net/minecraft/class_4700
named net/minecraft/client/world/BiomeColorCache
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate Long2ObjectLinkedOpenHashMap<int[]>
private static int
private ThreadLocal<BiomeColorCache.Last>
private ReentrantReadWriteLock
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getBiomeColor(BlockPos pos, IntSupplier colorFactory)
private int[]
getColorArray(int chunkX, int chunkZ)
void
reset()
void
reset(int chunkX, int chunkZ)
-
Field Details
-
field_32164
private static final int field_32164- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official a
Ldwf;a:I
intermediary field_32164
Lnet/minecraft/class_4700;field_32164:I
named field_32164
Lnet/minecraft/client/world/BiomeColorCache;field_32164:I
-
last
- Mappings:
Namespace Name Mixin selector official b
Ldwf;b:Ljava/lang/ThreadLocal;
intermediary field_21519
Lnet/minecraft/class_4700;field_21519:Ljava/lang/ThreadLocal;
named last
Lnet/minecraft/client/world/BiomeColorCache;last:Ljava/lang/ThreadLocal;
-
colors
- Mappings:
Namespace Name Mixin selector official c
Ldwf;c:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
intermediary field_21520
Lnet/minecraft/class_4700;field_21520:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
named colors
Lnet/minecraft/client/world/BiomeColorCache;colors:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
-
lock
- Mappings:
Namespace Name Mixin selector official d
Ldwf;d:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
intermediary field_21521
Lnet/minecraft/class_4700;field_21521:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
named lock
Lnet/minecraft/client/world/BiomeColorCache;lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
-
-
Constructor Details
-
BiomeColorCache
public BiomeColorCache()
-
-
Method Details
-
getBiomeColor
- Mappings:
Namespace Name Mixin selector official a
Ldwf;a(Lgg;Ljava/util/function/IntSupplier;)I
intermediary method_23770
Lnet/minecraft/class_4700;method_23770(Lnet/minecraft/class_2338;Ljava/util/function/IntSupplier;)I
named getBiomeColor
Lnet/minecraft/client/world/BiomeColorCache;getBiomeColor(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/IntSupplier;)I
-
reset
public void reset(int chunkX, int chunkZ)- Mappings:
Namespace Name Mixin selector official a
Ldwf;a(II)V
intermediary method_23769
Lnet/minecraft/class_4700;method_23769(II)V
named reset
Lnet/minecraft/client/world/BiomeColorCache;reset(II)V
-
reset
public void reset()- Mappings:
Namespace Name Mixin selector official a
Ldwf;a()V
intermediary method_23768
Lnet/minecraft/class_4700;method_23768()V
named reset
Lnet/minecraft/client/world/BiomeColorCache;reset()V
-
getColorArray
private int[] getColorArray(int chunkX, int chunkZ)- Mappings:
Namespace Name Mixin selector official b
Ldwf;b(II)[I
intermediary method_23772
Lnet/minecraft/class_4700;method_23772(II)[I
named getColorArray
Lnet/minecraft/client/world/BiomeColorCache;getColorArray(II)[I
-