net.minecraft.client.color.block

public class BlockTintCache

egv
net.minecraft.client.color.block.BlockTintCache
net.minecraft.class_4700
net.minecraft.unmapped.C_smjkwnuy
net.minecraft.client.world.BiomeColorCache
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
f_zfiphbcj
MAX_ENTRY_SIZE
MAX_CACHE_ENTRIES
f_168641_
private final ThreadLocal<BlockTintCache$LatestCacheInfo>
b
latestChunkOnThread
field_21519
f_jbbcalau
last
last
f_92650_
private final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<BlockTintCache$CacheData>
c
cache
field_21520
f_ckjwtyoa
colors
colors
f_92651_
private final ReentrantReadWriteLock
d
lock
field_21521
f_bfjnytlw
lock
lock
f_92652_
private final ToIntFunction<BlockPos>
e
source
field_34795
f_irbdnefs
colorFactory
colorSource
f_193809_

Constructor summary

ModifierConstructor
public (ToIntFunction<BlockPos> colorFactory)

Method summary

Modifier and TypeMethod
public int
a(gt arg0)
getColor(BlockPos arg0)
method_23770(class_2338 arg0)
m_pgswyzsg(C_hynzadkk arg0)
getBiomeColor(BlockPos pos)
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)
m_hoqnqsor(int arg0, int arg1)
reset(int chunkX, int chunkZ)
reset(int chunkX, int chunkZ)
m_92655_(int p_92657_, int arg1)
public void
a()
invalidateAll()
method_23768()
m_redjehst()
reset()
reset()
m_92654_()
private BlockTintCache$CacheData
b(int arg0, int arg1)
findOrCreateChunkCache(int arg0, int arg1)
method_23772(int arg0, int arg1)
m_yynxbvwi(int arg0, int arg1)
getColorArray(int chunkX, int chunkZ)
getColorArray(int chunkX, int chunkZ)
m_193814_(int p_193816_, int arg1)