aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0693-Add-configurable-height-for-slime-spawn.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0693-Add-configurable-height-for-slime-spawn.patch')
-rw-r--r--patches/server/0693-Add-configurable-height-for-slime-spawn.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0693-Add-configurable-height-for-slime-spawn.patch b/patches/server/0693-Add-configurable-height-for-slime-spawn.patch
index 01507f355e..08dbacd3f1 100644
--- a/patches/server/0693-Add-configurable-height-for-slime-spawn.patch
+++ b/patches/server/0693-Add-configurable-height-for-slime-spawn.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Add configurable height for slime spawn
diff --git a/src/main/java/net/minecraft/world/entity/monster/Slime.java b/src/main/java/net/minecraft/world/entity/monster/Slime.java
-index 2977e5986958cbee987893dd9de1dfb3764b291d..2502cb476032c6a247132ce2e427721d6c9f8ce4 100644
+index 0b8bcf9fc13ec6645c9e11cf52047272cdfce68c..3d9107d2c19a09215445aa0e0aacc32f9f82a536 100644
--- a/src/main/java/net/minecraft/world/entity/monster/Slime.java
+++ b/src/main/java/net/minecraft/world/entity/monster/Slime.java
-@@ -336,7 +336,11 @@ public class Slime extends Mob implements Enemy {
+@@ -344,7 +344,11 @@ public class Slime extends Mob implements Enemy {
return checkMobSpawnRules(type, world, spawnReason, pos, random);
}
@@ -21,7 +21,7 @@ index 2977e5986958cbee987893dd9de1dfb3764b291d..2502cb476032c6a247132ce2e427721d
return checkMobSpawnRules(type, world, spawnReason, pos, random);
}
-@@ -347,7 +351,10 @@ public class Slime extends Mob implements Enemy {
+@@ -355,7 +359,10 @@ public class Slime extends Mob implements Enemy {
ChunkPos chunkcoordintpair = new ChunkPos(pos);
boolean flag = world.getMinecraftWorld().paperConfig().entities.spawning.allChunksAreSlimeChunks || WorldgenRandom.seedSlimeChunk(chunkcoordintpair.x, chunkcoordintpair.z, ((WorldGenLevel) world).getSeed(), world.getMinecraftWorld().spigotConfig.slimeSeed).nextInt(10) == 0; // Spigot // Paper