diff options
author | Jake Potrebic <[email protected]> | 2022-06-02 21:26:56 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-06-02 21:26:56 -0700 |
commit | a3ad72074951c5f2fd27f41f7cb9b8ae46241d30 (patch) | |
tree | fc581399172f25af5368022e36323f8ae4f57034 /patches/server/0275-Check-Drowned-for-Villager-Aggression-Config.patch | |
parent | 2033dba4fa16d2f9081c5c6aff54255b3b4717a8 (diff) | |
download | Paper-a3ad72074951c5f2fd27f41f7cb9b8ae46241d30.tar.gz Paper-a3ad72074951c5f2fd27f41f7cb9b8ae46241d30.zip |
Remove ChatColor usages (#7543)
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.patch | 19 |
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 0e81942661..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 b0778270bc9fa5df57974e6f37dc7bfb4b809e3e..030ddefe45563bdd0a7091ae60d365f9aa58b6fc 100644 ---- a/src/main/java/net/minecraft/world/entity/monster/Drowned.java -+++ b/src/main/java/net/minecraft/world/entity/monster/Drowned.java -@@ -77,7 +77,7 @@ public class Drowned extends Zombie implements RangedAttackMob { - this.goalSelector.addGoal(7, new RandomStrollGoal(this, 1.0D)); - this.targetSelector.addGoal(1, (new HurtByTargetGoal(this, 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)); |