From f5db6995f23ed79af8851f6aa141ef68ed385bdf Mon Sep 17 00:00:00 2001 From: dags- Date: Sun, 15 Mar 2020 00:04:12 +0000 Subject: [PATCH] - disable region queueing - tweak default filter settings --- .../main/java/com/terraforged/core/region/RegionCache.java | 1 - .../java/com/terraforged/core/settings/FilterSettings.java | 4 ++-- .../java/com/terraforged/mod/chunk/TerraChunkGenerator.java | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/TerraForgedCore/src/main/java/com/terraforged/core/region/RegionCache.java b/TerraForgedCore/src/main/java/com/terraforged/core/region/RegionCache.java index a3b541c..5320537 100644 --- a/TerraForgedCore/src/main/java/com/terraforged/core/region/RegionCache.java +++ b/TerraForgedCore/src/main/java/com/terraforged/core/region/RegionCache.java @@ -43,7 +43,6 @@ public class RegionCache implements RegionExtent { public RegionCache(boolean queueNeighbours, RegionGenerator renderer) { this.renderer = renderer; this.queuing = queueNeighbours; - this.cache = Cache.concurrent(180, 60, TimeUnit.SECONDS); } diff --git a/TerraForgedCore/src/main/java/com/terraforged/core/settings/FilterSettings.java b/TerraForgedCore/src/main/java/com/terraforged/core/settings/FilterSettings.java index 45bb736..198826b 100644 --- a/TerraForgedCore/src/main/java/com/terraforged/core/settings/FilterSettings.java +++ b/TerraForgedCore/src/main/java/com/terraforged/core/settings/FilterSettings.java @@ -45,11 +45,11 @@ public class FilterSettings { @Range(min = 0F, max = 1F) @Comment("Controls how quickly material dissolves (during erosion)") - public float erosionRate = 0.45F; + public float erosionRate = 0.5F; @Range(min = 0F, max = 1F) @Comment("Controls how quickly material is deposited (during erosion)") - public float depositeRate = 0.35F; + public float depositeRate = 0.2F; } @Serializable diff --git a/TerraForgedMod/src/main/java/com/terraforged/mod/chunk/TerraChunkGenerator.java b/TerraForgedMod/src/main/java/com/terraforged/mod/chunk/TerraChunkGenerator.java index ede7c77..1b7fb17 100644 --- a/TerraForgedMod/src/main/java/com/terraforged/mod/chunk/TerraChunkGenerator.java +++ b/TerraForgedMod/src/main/java/com/terraforged/mod/chunk/TerraChunkGenerator.java @@ -373,7 +373,7 @@ public class TerraChunkGenerator extends ObfHelperChunkGenerator