Package net.minecraft.client.world
Class BiomeColorCache
java.lang.Object
net.minecraft.client.world.BiomeColorCache
- Mappings:
Namespace Name official enj
intermediary net/minecraft/class_4700
named net/minecraft/client/world/BiomeColorCache
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ToIntFunction<BlockPos>
private final Long2ObjectLinkedOpenHashMap<BiomeColorCache.Colors>
private final ThreadLocal<BiomeColorCache.Last>
private final ReentrantReadWriteLock
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getBiomeColor
(BlockPos pos) private BiomeColorCache.Colors
getColorArray
(int chunkX, int chunkZ) void
reset()
void
reset
(int chunkX, int chunkZ)
-
Field Details
-
MAX_ENTRY_SIZE
private static final int MAX_ENTRY_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lenj;a:I
intermediary field_32164
Lnet/minecraft/class_4700;field_32164:I
named MAX_ENTRY_SIZE
Lnet/minecraft/client/world/BiomeColorCache;MAX_ENTRY_SIZE:I
-
last
- Mappings:
Namespace Name Mixin selector official b
Lenj;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
Lenj;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
Lenj;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;
-
colorFactory
- Mappings:
Namespace Name Mixin selector official e
Lenj;e:Ljava/util/function/ToIntFunction;
intermediary field_34795
Lnet/minecraft/class_4700;field_34795:Ljava/util/function/ToIntFunction;
named colorFactory
Lnet/minecraft/client/world/BiomeColorCache;colorFactory:Ljava/util/function/ToIntFunction;
-
-
Constructor Details
-
BiomeColorCache
- Mappings:
Namespace Name Mixin selector official <init>
Lenj;<init>(Ljava/util/function/ToIntFunction;)V
intermediary <init>
Lnet/minecraft/class_4700;<init>(Ljava/util/function/ToIntFunction;)V
named <init>
Lnet/minecraft/client/world/BiomeColorCache;<init>(Ljava/util/function/ToIntFunction;)V
-
-
Method Details
-
getBiomeColor
- Mappings:
Namespace Name Mixin selector official a
Lenj;a(Lgt;)I
intermediary method_23770
Lnet/minecraft/class_4700;method_23770(Lnet/minecraft/class_2338;)I
named getBiomeColor
Lnet/minecraft/client/world/BiomeColorCache;getBiomeColor(Lnet/minecraft/util/math/BlockPos;)I
-
reset
public void reset(int chunkX, int chunkZ) - Mappings:
Namespace Name Mixin selector official a
Lenj;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
Lenj;a()V
intermediary method_23768
Lnet/minecraft/class_4700;method_23768()V
named reset
Lnet/minecraft/client/world/BiomeColorCache;reset()V
-
getColorArray
- Mappings:
Namespace Name Mixin selector official b
Lenj;b(II)Lenj$a;
intermediary method_23772
Lnet/minecraft/class_4700;method_23772(II)Lnet/minecraft/class_4700$class_6598;
named getColorArray
Lnet/minecraft/client/world/BiomeColorCache;getColorArray(II)Lnet/minecraft/client/world/BiomeColorCache$Colors;
-