From 6f0762c0122888d7156faf0c8c74d30cefbf96f3 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Tue, 11 Jan 2022 02:55:05 +0000 Subject: [PATCH] Fix defaults for slime-spawn-height in paper config do note that if you happened to grab the previous build in the few minutes it was alive, you'll want to reset your settings here also, i --- ...re-vanilla-default-mob-spawn-range-and-water-an.patch} | 4 ++-- .../0849-Add-configurable-height-for-slime-spawn.patch | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) rename patches/server/{0248-Restore-vanlla-default-mob-spawn-range-and-water-ani.patch => 0248-Restore-vanilla-default-mob-spawn-range-and-water-an.patch} (81%) diff --git a/patches/server/0248-Restore-vanlla-default-mob-spawn-range-and-water-ani.patch b/patches/server/0248-Restore-vanilla-default-mob-spawn-range-and-water-an.patch similarity index 81% rename from patches/server/0248-Restore-vanlla-default-mob-spawn-range-and-water-ani.patch rename to patches/server/0248-Restore-vanilla-default-mob-spawn-range-and-water-an.patch index 81295c2213..6cd1a6bdce 100644 --- a/patches/server/0248-Restore-vanlla-default-mob-spawn-range-and-water-ani.patch +++ b/patches/server/0248-Restore-vanilla-default-mob-spawn-range-and-water-an.patch @@ -1,12 +1,12 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Aikar Date: Sat, 18 Aug 2018 12:43:16 -0400 -Subject: [PATCH] Restore vanlla default mob-spawn-range and water animals +Subject: [PATCH] Restore vanilla default mob-spawn-range and water animals limit diff --git a/src/main/java/org/spigotmc/SpigotWorldConfig.java b/src/main/java/org/spigotmc/SpigotWorldConfig.java -index 6c5113545914842ffb310522a7549ae7dd2466b2..21e0f9b4d3e1dc6e104bffdffcc23d62a739ab3c 100644 +index 1d802f0e81b3880e9bb7799ecd46826f4bdcee03..7acf96f2fbf807d4621ad3cfc9d9312adb255287 100644 --- a/src/main/java/org/spigotmc/SpigotWorldConfig.java +++ b/src/main/java/org/spigotmc/SpigotWorldConfig.java @@ -184,7 +184,7 @@ public class SpigotWorldConfig diff --git a/patches/server/0849-Add-configurable-height-for-slime-spawn.patch b/patches/server/0849-Add-configurable-height-for-slime-spawn.patch index 7f735d9685..bdc508b260 100644 --- a/patches/server/0849-Add-configurable-height-for-slime-spawn.patch +++ b/patches/server/0849-Add-configurable-height-for-slime-spawn.patch @@ -5,16 +5,16 @@ Subject: [PATCH] Add configurable height for slime spawn diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java -index cd5a7bac92a1e733d69340f09bc35906138a6ce3..c6aa0bef1e7b9c30c0bd2d466d368ab38690246c 100644 +index cd5a7bac92a1e733d69340f09bc35906138a6ce3..e7c129c74ab808eb3dd2b4a249564f7804a28d01 100644 --- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java @@ -423,6 +423,16 @@ public class PaperWorldConfig { allChunksAreSlimeChunks = getBoolean("all-chunks-are-slime-chunks", false); } -+ public double slimeMaxSpawnHeightInSwamp; -+ public double slimeMinSpawnHeightInSwamp; -+ public double slimeMaxSpawnHeightInSlimeChunks; ++ public double slimeMaxSpawnHeightInSwamp = 70; ++ public double slimeMinSpawnHeightInSwamp = 50; ++ public double slimeMaxSpawnHeightInSlimeChunks = 40; + private void slimeSpawnHeight() { + slimeMaxSpawnHeightInSwamp = getDouble("slime-spawn-height.swamp-biome.maximum", this.slimeMaxSpawnHeightInSwamp); + slimeMinSpawnHeightInSwamp = getDouble("slime-spawn-height.swamp-biome.minimum", this.slimeMinSpawnHeightInSwamp);