Partially address #28 (improve LOD chunk generation outside normal view distance)

This commit is contained in:
James Seibel
2021-06-19 20:36:13 -05:00
parent 13fecf9d1d
commit 2b82eb88c8
6 changed files with 204 additions and 64 deletions
@@ -17,7 +17,7 @@ import net.minecraft.world.server.ServerWorld;
* for a given dimension.
*
* @author James Seibel
* @version 03-19-2021
* @version 06-19-2021
*/
public class LodDimension
{
@@ -26,8 +26,8 @@ public class LodDimension
private volatile int width;
private volatile int halfWidth;
public LodRegion regions[][];
public boolean isRegionDirty[][];
public volatile LodRegion regions[][];
public volatile boolean isRegionDirty[][];
private int centerX;
private int centerZ;