Class BlockTintCache.CacheData

java.lang.Object
net.minecraft.client.color.block.BlockTintCache.CacheData
Enclosing class:
BlockTintCache

static class BlockTintCache.CacheData extends Object
  • Field Details

    • cache

      private final it.unimi.dsi.fastutil.ints.Int2ObjectArrayMap<int[]> cache
    • lock

      private final ReentrantReadWriteLock 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()