Improve Activation Range by running target rules

This restores monster aggression range back to normal when
Activation Range is less than the monsters aggression range.

This allows an entity to try to acquire targets still during
inactive ticks, which will also then let it go into immunity stage.
This commit is contained in:
Aikar
2018-11-08 22:43:38 -05:00
parent bf31449397
commit f4f21a2bf2
5 changed files with 86 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ Subject: [PATCH] Add sun related API
diff --git a/src/main/java/net/minecraft/server/EntityInsentient.java b/src/main/java/net/minecraft/server/EntityInsentient.java
index 5aea6629f2..fd4a77c1a9 100644
index db9201d292..6c9776f57e 100644
--- a/src/main/java/net/minecraft/server/EntityInsentient.java
+++ b/src/main/java/net/minecraft/server/EntityInsentient.java
@@ -0,0 +0,0 @@ public abstract class EntityInsentient extends EntityLiving {