Package net.minecraft.client.color.block
Class BlockTintCache.CacheData
java.lang.Object
net.minecraft.client.color.block.BlockTintCache.CacheData
- Enclosing class:
BlockTintCache
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private final it.unimi.dsi.fastutil.ints.Int2ObjectArrayMap<int[]>
private boolean
private final ReentrantReadWriteLock
-
Constructor Summary
-
Method Summary
-
Field Details
-
cache
private final it.unimi.dsi.fastutil.ints.Int2ObjectArrayMap<int[]> cache -
lock
-
BLOCKS_PER_LAYER
private static final int BLOCKS_PER_LAYER -
invalidated
private volatile boolean invalidated
-
-
Constructor Details
-
CacheData
CacheData()
-
-
Method Details
-
getLayer
public int[] getLayer(int p_193824_) -
allocateLayer
private int[] allocateLayer() -
isInvalidated
public boolean isInvalidated() -
invalidate
public void invalidate()
-