Class ClientChunkCache.Storage

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

final class ClientChunkCache.Storage extends Object
  • Field Details

    • chunks

    • 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

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

      protected LevelChunk replace(int p_104488_, LevelChunk p_104489_, @Nullable LevelChunk p_104490_)
    • inRange

      boolean inRange(int p_104501_, int p_104502_)
    • getChunk

      @Nullable protected LevelChunk getChunk(int p_104480_)
    • dumpChunks

      private void dumpChunks(String p_171623_)