net.minecraft.client.color.block

public class BlockTintCache

dwg
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
field_32164
f_168641_
private final ThreadLocal<BlockTintCache$LatestCacheInfo>
b
latestChunkOnThread
field_21519
last
f_92650_
private final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<int[]>
c
cache
field_21520
colors
f_92651_
private final ReentrantReadWriteLock
d
lock
field_21521
lock
f_92652_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public int
a(gg arg0, IntSupplier arg1)
getColor(BlockPos arg0, IntSupplier arg1)
method_23770(class_2338 arg0, IntSupplier arg1)
getBiomeColor(BlockPos pos, IntSupplier colorFactory)
m_92658_(C_4675_ p_92660_, IntSupplier arg1)
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 int[]
b(int arg0, int arg1)
findOrCreateChunkCache(int arg0, int arg1)
method_23772(int arg0, int arg1)
getColorArray(int chunkX, int chunkZ)
m_92662_(int p_92664_, int arg1)