Enable chunk load for feature search by default

generating the chunk allows vanilla to determine if the "potential"
structure location was actually put in place, as well as the exact
position of it, while the offset location was a minor inconvenience
for most game play, the fact that it would return potentials which
would fail does cause a good chunk of impact
This commit is contained in:
Shane Freeder 2021-06-16 21:50:21 +01:00
parent 2db85c553f
commit 903fa9a33f
No known key found for this signature in database
GPG key ID: A3F61EA5A085289C

View file

@ -21,7 +21,7 @@ changes but this should usually not happen. A config option to disable
this completely is added though in case that should ever be necessary.
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
index 424754a0183b071d20c86f0420cec784a8992e2b..97870622e41cca36d9c7493bfad796f35f3831f4 100644
index 424754a0183b071d20c86f0420cec784a8992e2b..fdd7457848e8c7d491705f374c3608828cea02c3 100644
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
@@ -337,6 +337,14 @@ public class PaperWorldConfig {
@ -29,7 +29,7 @@ index 424754a0183b071d20c86f0420cec784a8992e2b..97870622e41cca36d9c7493bfad796f3
}
+ public boolean seedBasedFeatureSearch = true;
+ public boolean seedBasedFeatureSearchLoadsChunks = false;
+ public boolean seedBasedFeatureSearchLoadsChunks = true;
+ private void seedBasedFeatureSearch() {
+ seedBasedFeatureSearch = getBoolean("seed-based-feature-search", seedBasedFeatureSearch);
+ seedBasedFeatureSearchLoadsChunks = getBoolean("seed-based-feature-search-loads-chunks", seedBasedFeatureSearchLoadsChunks);