diff --git a/src/main/java/electrosphere/client/terrain/cache/ClientTerrainCache.java b/src/main/java/electrosphere/client/terrain/cache/ClientTerrainCache.java index 802b8f44..c1628975 100644 --- a/src/main/java/electrosphere/client/terrain/cache/ClientTerrainCache.java +++ b/src/main/java/electrosphere/client/terrain/cache/ClientTerrainCache.java @@ -16,13 +16,24 @@ import io.github.studiorailgun.HashUtils; */ public class ClientTerrainCache { - //cache capacity + /** + * Cache capacity + */ int cacheSize; - //the map of chunk key -> chunk data + + /** + * The map of chunk key -> chunk data + */ Map cacheMap = new ConcurrentHashMap(); - //the list of keys in the cache + + /** + * The list of keys in the cache + */ List cacheList = new CopyOnWriteArrayList(); - //A map of chunk to its world position + + /** + * A map of chunk to its world position + */ Map chunkPositionMap = new ConcurrentHashMap(); /**