java.lang.Object
org.geysermc.connector.network.session.cache.ChunkCache

public class ChunkCache extends Object
  • Constructor Details

  • Method Details

    • addToCache

      public void addToCache(com.github.steveice10.mc.protocol.data.game.chunk.Column chunk)
    • updateBlock

      public void updateBlock(int x, int y, int z, int block)
    • getBlockAt

      public int getBlockAt(int x, int y, int z)
    • removeChunk

      public void removeChunk(int chunkX, int chunkZ)
    • clear

      public void clear()
      Manually clears all entries in the chunk cache. The server is responsible for clearing chunk entries if out of render distance (for example) or switching dimensions, but it is the client that must clear chunks in the event of proxy switches.
    • getChunkMinY

      public int getChunkMinY()
    • getChunkHeightY

      public int getChunkHeightY()