net.minecraft.client.color.block

public class BlockTintCache

dzk
net.minecraft.client.color.block.BlockTintCache
net.minecraft.class_4700
net.minecraft.client.world.BiomeColorCache
net.minecraft.src.C_3424_

Field summary

Modifier and TypeField
private static final int
a
MAX_CACHE_ENTRIES
field_32164
MAX_ENTRY_SIZE
f_168641_
private final ThreadLocal<BlockTintCache$LatestCacheInfo>
b
latestChunkOnThread
field_21519
last
f_92650_
private final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<BlockTintCache$CacheData>
c
cache
field_21520
colors
f_92651_
private final ReentrantReadWriteLock
d
lock
field_21521
lock
f_92652_
private final ToIntFunction<BlockPos>
e
source
field_34795
colorFactory
f_193809_

Constructor summary

ModifierConstructor
public (ToIntFunction<BlockPos> colorFactory)

Method summary

Modifier and TypeMethod
public int
a(gj arg0)
getColor(BlockPos arg0)
method_23770(class_2338 arg0)
getBiomeColor(BlockPos pos)
m_193812_(C_4675_ arg0)
public void
a(int arg0, int arg1)
invalidateForChunk(int arg0, int arg1)
method_23769(int arg0, int arg1)
reset(int chunkX, int chunkZ)
m_92655_(int p_92657_, int arg1)
public void
a()
invalidateAll()
method_23768()
reset()
m_92654_()
private BlockTintCache$CacheData
b(int arg0, int arg1)
findOrCreateChunkCache(int arg0, int arg1)
method_23772(int arg0, int arg1)
getColorArray(int chunkX, int chunkZ)
m_193814_(int p_193816_, int arg1)