Package net.minecraft.client.world
Class BiomeColorCache
java.lang.Object
net.minecraft.client.world.BiomeColorCache
- Mappings:
Namespace Name named net/minecraft/client/world/BiomeColorCache
intermediary net/minecraft/class_4700
official fgz
-
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 named MAX_ENTRY_SIZE
Lnet/minecraft/client/world/BiomeColorCache;MAX_ENTRY_SIZE:I
intermediary field_32164
Lnet/minecraft/class_4700;field_32164:I
official a
Lfgz;a:I
-
last
- Mappings:
Namespace Name Mixin selector named last
Lnet/minecraft/client/world/BiomeColorCache;last:Ljava/lang/ThreadLocal;
intermediary field_21519
Lnet/minecraft/class_4700;field_21519:Ljava/lang/ThreadLocal;
official b
Lfgz;b:Ljava/lang/ThreadLocal;
-
colors
- Mappings:
Namespace Name Mixin selector named colors
Lnet/minecraft/client/world/BiomeColorCache;colors:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
intermediary field_21520
Lnet/minecraft/class_4700;field_21520:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
official c
Lfgz;c:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
-
lock
- Mappings:
Namespace Name Mixin selector named lock
Lnet/minecraft/client/world/BiomeColorCache;lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
intermediary field_21521
Lnet/minecraft/class_4700;field_21521:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
official d
Lfgz;d:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
-
colorFactory
- Mappings:
Namespace Name Mixin selector named colorFactory
Lnet/minecraft/client/world/BiomeColorCache;colorFactory:Ljava/util/function/ToIntFunction;
intermediary field_34795
Lnet/minecraft/class_4700;field_34795:Ljava/util/function/ToIntFunction;
official e
Lfgz;e:Ljava/util/function/ToIntFunction;
-
-
Constructor Details
-
BiomeColorCache
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/world/BiomeColorCache;<init>(Ljava/util/function/ToIntFunction;)V
intermediary <init>
Lnet/minecraft/class_4700;<init>(Ljava/util/function/ToIntFunction;)V
official <init>
Lfgz;<init>(Ljava/util/function/ToIntFunction;)V
-
-
Method Details
-
getBiomeColor
- Mappings:
Namespace Name Mixin selector named getBiomeColor
Lnet/minecraft/client/world/BiomeColorCache;getBiomeColor(Lnet/minecraft/util/math/BlockPos;)I
intermediary method_23770
Lnet/minecraft/class_4700;method_23770(Lnet/minecraft/class_2338;)I
official a
Lfgz;a(Lja;)I
-
reset
public void reset(int chunkX, int chunkZ) - Mappings:
Namespace Name Mixin selector named reset
Lnet/minecraft/client/world/BiomeColorCache;reset(II)V
intermediary method_23769
Lnet/minecraft/class_4700;method_23769(II)V
official a
Lfgz;a(II)V
-
reset
public void reset()- Mappings:
Namespace Name Mixin selector named reset
Lnet/minecraft/client/world/BiomeColorCache;reset()V
intermediary method_23768
Lnet/minecraft/class_4700;method_23768()V
official a
Lfgz;a()V
-
getColorArray
- Mappings:
Namespace Name Mixin selector named getColorArray
Lnet/minecraft/client/world/BiomeColorCache;getColorArray(II)Lnet/minecraft/client/world/BiomeColorCache$Colors;
intermediary method_23772
Lnet/minecraft/class_4700;method_23772(II)Lnet/minecraft/class_4700$class_6598;
official b
Lfgz;b(II)Lfgz$a;
-