aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0275-Check-Drowned-for-Villager-Aggression-Config.patch
diff options
context:
space:
mode:
authorFivePB (Xer) <[email protected]>2022-08-08 15:25:41 +0000
committerGitHub <[email protected]>2022-08-08 16:25:41 +0100
commitc7e118b39425bd3aa817ad9bb5ed40db8266d785 (patch)
tree3efd8cfd04875482509b031280ceb8cd6962a43a /patches/server/0275-Check-Drowned-for-Villager-Aggression-Config.patch
parent78b19f89a4658892c5ec79d5062f8c5b95ca149b (diff)
downloadPaper-c7e118b39425bd3aa817ad9bb5ed40db8266d785.tar.gz
Paper-c7e118b39425bd3aa817ad9bb5ed40db8266d785.zip
Update modern forwarding to v3 (#8219)
Diffstat (limited to 'patches/server/0275-Check-Drowned-for-Villager-Aggression-Config.patch')
-rw-r--r--patches/server/0275-Check-Drowned-for-Villager-Aggression-Config.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/patches/server/0275-Check-Drowned-for-Villager-Aggression-Config.patch b/patches/server/0275-Check-Drowned-for-Villager-Aggression-Config.patch
deleted file mode 100644
index ec62c27d6f..0000000000
--- a/patches/server/0275-Check-Drowned-for-Villager-Aggression-Config.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: BillyGalbreath <[email protected]>
-Date: Wed, 10 Oct 2018 21:22:44 -0500
-Subject: [PATCH] Check Drowned for Villager Aggression Config
-
-
-diff --git a/src/main/java/net/minecraft/world/entity/monster/Drowned.java b/src/main/java/net/minecraft/world/entity/monster/Drowned.java
-index 2a3e9d3b847c155ba1d18c0711210c3e41bc3eac..1b1305f5eaf5710b72c57ab4c3953e703a23f1e0 100644
---- a/src/main/java/net/minecraft/world/entity/monster/Drowned.java
-+++ b/src/main/java/net/minecraft/world/entity/monster/Drowned.java
-@@ -78,7 +78,7 @@ public class Drowned extends Zombie implements RangedAttackMob {
- this.goalSelector.addGoal(7, new RandomStrollGoal(this, 1.0D));
- this.targetSelector.addGoal(1, (new HurtByTargetGoal(this, new Class[]{Drowned.class})).setAlertOthers(ZombifiedPiglin.class));
- this.targetSelector.addGoal(2, new NearestAttackableTargetGoal<>(this, Player.class, 10, true, false, this::okTarget));
-- this.targetSelector.addGoal(3, new NearestAttackableTargetGoal<>(this, AbstractVillager.class, false));
-+ if (this.level.spigotConfig.zombieAggressiveTowardsVillager) this.targetSelector.addGoal(3, new NearestAttackableTargetGoal<>(this, AbstractVillager.class, false)); // Paper
- this.targetSelector.addGoal(3, new NearestAttackableTargetGoal<>(this, IronGolem.class, true));
- this.targetSelector.addGoal(3, new NearestAttackableTargetGoal<>(this, Axolotl.class, true, false));
- this.targetSelector.addGoal(5, new NearestAttackableTargetGoal<>(this, Turtle.class, 10, true, false, Turtle.BABY_ON_LAND_SELECTOR));