aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0685-Make-water-animal-spawn-height-configurable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0685-Make-water-animal-spawn-height-configurable.patch')
-rw-r--r--patches/server/0685-Make-water-animal-spawn-height-configurable.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0685-Make-water-animal-spawn-height-configurable.patch b/patches/server/0685-Make-water-animal-spawn-height-configurable.patch
index e523ed36f4..3741f45097 100644
--- a/patches/server/0685-Make-water-animal-spawn-height-configurable.patch
+++ b/patches/server/0685-Make-water-animal-spawn-height-configurable.patch
@@ -5,11 +5,11 @@ Subject: [PATCH] Make water animal spawn height configurable
diff --git a/src/main/java/net/minecraft/world/entity/animal/WaterAnimal.java b/src/main/java/net/minecraft/world/entity/animal/WaterAnimal.java
-index 27624b080e025d943b9c99627568f7dd66165548..9b897cf53f4bb5d366e6ac88dbed93c59d8fe541 100644
+index 7ef707f0098f2663ebc0ef0f5b35897c9d33c1cf..75884a9e69a28404752c1a2cf854335bb78cac01 100644
--- a/src/main/java/net/minecraft/world/entity/animal/WaterAnimal.java
+++ b/src/main/java/net/minecraft/world/entity/animal/WaterAnimal.java
-@@ -73,6 +73,10 @@ public abstract class WaterAnimal extends PathfinderMob {
- public static boolean checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> type, LevelAccessor world, MobSpawnType reason, BlockPos pos, RandomSource random) {
+@@ -74,6 +74,10 @@ public abstract class WaterAnimal extends PathfinderMob {
+ ) {
int i = world.getSeaLevel();
int j = i - 13;
+ // Paper start - Make water animal spawn height configurable