aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0075-Configurable-spawn-chances-for-skeleton-horses.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2023-06-07 18:24:39 +0200
committerNassim Jahnke <[email protected]>2023-06-07 19:06:55 +0200
commit965cf53cd5067d9f3facf87eed5132c0c82f9878 (patch)
tree1f8f05afb8e9590389c178778a7132d1c7c21f6b /patches/server/0075-Configurable-spawn-chances-for-skeleton-horses.patch
parentbc4a6647c99ae98c52c1c81597834be8fec6aa0d (diff)
downloadPaper-965cf53cd5067d9f3facf87eed5132c0c82f9878.tar.gz
Paper-965cf53cd5067d9f3facf87eed5132c0c82f9878.zip
Start working on 1.20
Diffstat (limited to 'patches/server/0075-Configurable-spawn-chances-for-skeleton-horses.patch')
-rw-r--r--patches/server/0075-Configurable-spawn-chances-for-skeleton-horses.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/patches/server/0075-Configurable-spawn-chances-for-skeleton-horses.patch b/patches/server/0075-Configurable-spawn-chances-for-skeleton-horses.patch
deleted file mode 100644
index 074c8554fb..0000000000
--- a/patches/server/0075-Configurable-spawn-chances-for-skeleton-horses.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Zach Brown <[email protected]>
-Date: Tue, 22 Mar 2016 12:04:28 -0500
-Subject: [PATCH] Configurable spawn chances for skeleton horses
-
-
-diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java
-index 9e593a50b36a13b45c6ab279a7f6656045ccdf35..faf2d6aaf6fba1c7a47ebd2cbc95783afaf5c8ef 100644
---- a/src/main/java/net/minecraft/server/level/ServerLevel.java
-+++ b/src/main/java/net/minecraft/server/level/ServerLevel.java
-@@ -696,7 +696,7 @@ public class ServerLevel extends Level implements WorldGenLevel {
- blockposition = this.findLightningTargetAround(this.getBlockRandomPos(j, 0, k, 15));
- if (this.isRainingAt(blockposition)) {
- DifficultyInstance difficultydamagescaler = this.getCurrentDifficultyAt(blockposition);
-- boolean flag1 = this.getGameRules().getBoolean(GameRules.RULE_DOMOBSPAWNING) && this.random.nextDouble() < (double) difficultydamagescaler.getEffectiveDifficulty() * 0.01D && !this.getBlockState(blockposition.below()).is(Blocks.LIGHTNING_ROD);
-+ boolean flag1 = this.getGameRules().getBoolean(GameRules.RULE_DOMOBSPAWNING) && this.random.nextDouble() < (double) difficultydamagescaler.getEffectiveDifficulty() * this.paperConfig().entities.spawning.skeletonHorseThunderSpawnChance.or(0.01D) && !this.getBlockState(blockposition.below()).is(Blocks.LIGHTNING_ROD); // Paper
-
- if (flag1) {
- SkeletonHorse entityhorseskeleton = (SkeletonHorse) EntityType.SKELETON_HORSE.create(this);