Remove more outdated config settings (#9358)

This commit is contained in:
Jake Potrebic 2023-06-17 11:25:22 -07:00 committed by GitHub
parent 38856661c0
commit c1ea5502d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1378,10 +1378,10 @@ index 0000000000000000000000000000000000000000..f6b9d216c24d8858802f85209fe1a869
+}
diff --git a/src/main/java/io/papermc/paper/configuration/RemovedConfigurations.java b/src/main/java/io/papermc/paper/configuration/RemovedConfigurations.java
new file mode 100644
index 0000000000000000000000000000000000000000..efe7fc0bb92b70ef244875219f285724af9bfa24
index 0000000000000000000000000000000000000000..f0d4ec73bc8872a85e34f5c6b4d342e7562ca350
--- /dev/null
+++ b/src/main/java/io/papermc/paper/configuration/RemovedConfigurations.java
@@ -0,0 +1,64 @@
@@ -0,0 +1,77 @@
+package io.papermc.paper.configuration;
+
+import org.spongepowered.configurate.NodePath;
@ -1391,6 +1391,15 @@ index 0000000000000000000000000000000000000000..efe7fc0bb92b70ef244875219f285724
+interface RemovedConfigurations {
+
+ NodePath[] REMOVED_WORLD_PATHS = {
+ path("falling-blocks-collide-with-signs"),
+ path("fast-drain"),
+ path("lava-flow-speed"),
+ path("load-chunks"),
+ path("misc", "boats-drop-boats"),
+ path("player-exhaustion"),
+ path("remove-unloaded"),
+ path("tick-next-tick-list-cap"),
+ path("tick-next-tick-list-cap-ignores-redstone"),
+ path("elytra-hit-wall-damage"),
+ path("queue-light-updates"),
+ path("save-queue-limit-for-auto-save"),
@ -1406,7 +1415,7 @@ index 0000000000000000000000000000000000000000..efe7fc0bb92b70ef244875219f285724
+ path("reset-arrow-despawn-timer-on-fall"),
+ path("seed-based-feature-search"),
+ path("seed-based-feature-search-loads-chunks"),
+ path("viewdistances.no-tick-view-distance"),
+ path("viewdistances", "no-tick-view-distance"),
+ path("seed-based-feature-search"), // unneeded as of 1.18
+ path("seed-based-feature-search-loads-chunks"), // unneeded as of 1.18
+ path("reset-arrow-despawn-timer-on-fall"),
@ -1429,6 +1438,10 @@ index 0000000000000000000000000000000000000000..efe7fc0bb92b70ef244875219f285724
+ };
+
+ NodePath[] REMOVED_GLOBAL_PATHS = {
+ path("data-value-allowed-items"),
+ path("effect-modifiers"),
+ path("stackable-buckets"),
+ path("async-chunks"),
+ path("queue-light-updates-max-loss"),
+ path("sleep-between-chunk-saves"),
+ path("remove-invalid-statistics"),