Class ClientChunkCache.Storage

java.lang.Object
net.minecraft.client.multiplayer.ClientChunkCache.Storage
Enclosing class:
ClientChunkCache

final class ClientChunkCache.Storage extends Object
  • Field Details

    • chunks

    • loadedEmptySections

      final it.unimi.dsi.fastutil.longs.LongOpenHashSet loadedEmptySections
    • chunkRadius

      final int chunkRadius
    • viewRange

      private final int viewRange
    • viewCenterX

      volatile int viewCenterX
    • viewCenterZ

      volatile int viewCenterZ
    • chunkCount

      int chunkCount
  • Constructor Details

    • Storage

      Storage(int p_104474_)
  • Method Details

    • getIndex

      int getIndex(int p_104482_, int p_104483_)
    • replace

      void replace(int p_104485_, @Nullable LevelChunk p_104486_)
    • drop

      void drop(int p_366627_, LevelChunk p_366475_)
    • onSectionEmptinessChanged

      public void onSectionEmptinessChanged(int p_366606_, int p_366859_, int p_366870_, boolean p_366411_)
    • dropEmptySections

      private void dropEmptySections(LevelChunk p_366765_)
    • addEmptySections

      private void addEmptySections(LevelChunk p_366694_)
    • refreshEmptySections

      void refreshEmptySections(LevelChunk p_386574_)
    • inRange

      boolean inRange(int p_104501_, int p_104502_)
    • getChunk

      @Nullable protected LevelChunk getChunk(int p_104480_)
    • dumpChunks

      private void dumpChunks(String p_171623_)