net.minecraft.client.color.block

public class BlockTintCache

dkm
net.minecraft.client.color.block.BlockTintCache
net.minecraft.class_4700
net.minecraft.client.world.BiomeColorCache
net.minecraft.client.renderer.color.ColorCache

Field summary

Modifier and TypeField
private final ThreadLocal<BlockTintCache$LatestCacheInfo>
a
latestChunkOnThread
field_21519
last
field_228066_a_
private final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<int[]>
b
cache
field_21520
colors
field_228067_b_
private final ReentrantReadWriteLock
c
lock
field_21521
lock
field_228068_c_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public int
a(fx arg0, IntSupplier arg1)
getColor(BlockPos arg0, IntSupplier arg1)
method_23770(class_2338 arg0, IntSupplier arg1)
getBiomeColor(BlockPos pos, IntSupplier colorFactory)
func_228071_a_(BlockPos arg0, 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)
func_228070_a_(int arg0, int arg1)
public void
a()
invalidateAll()
method_23768()
reset()
func_228069_a_()
private int[]
b(int arg0, int arg1)
findOrCreateChunkCache(int arg0, int arg1)
method_23772(int arg0, int arg1)
getColorArray(int chunkX, int chunkZ)
func_228073_b_(int arg0, int arg1)