net.minecraft.client.color.block

public class BlockTintCache

fmn
net.minecraft.client.color.block.BlockTintCache
net.minecraft.class_4700
net.minecraft.client.world.BiomeColorCache

Field summary

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

Constructor summary

ModifierConstructor
public (ToIntFunction<BlockPos> colorFactory)

Method summary

Modifier and TypeMethod
public int
a(ji arg0)
getColor(BlockPos arg0)
method_23770(class_2338 arg0)
getBiomeColor(BlockPos pos)
public void
a(int arg0, int arg1)
invalidateForChunk(int arg0, int arg1)
method_23769(int arg0, int arg1)
reset(int chunkX, int chunkZ)
public void
a()
invalidateAll()
method_23768()
reset()
private BlockTintCache$CacheData
b(int arg0, int arg1)
findOrCreateChunkCache(int arg0, int arg1)
method_23772(int arg0, int arg1)
getColorArray(int chunkX, int chunkZ)