Improve ambiguous brain tasks (#3520)

* Rename WalkTask to FleeTask

* Rename FollowMobTask to LookAtMobTask

* Rename FollowMobWithIntervalTask to LookAtMobWithIntervalTask

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Benonardo 2023-03-02 15:06:34 +01:00 committed by GitHub
parent afbf94cb55
commit 8091719131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_6028 net/minecraft/entity/ai/brain/task/WalkTask
CLASS net/minecraft/class_6028 net/minecraft/entity/ai/brain/task/FleeTask
FIELD field_30107 MIN_RUN_TIME I
FIELD field_30108 MAX_RUN_TIME I
FIELD field_30109 HORIZONTAL_RANGE I

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_4119 net/minecraft/entity/ai/brain/task/FollowMobTask
CLASS net/minecraft/class_4119 net/minecraft/entity/ai/brain/task/LookAtMobTask
METHOD method_47056 create (F)Lnet/minecraft/class_7894;
ARG 0 maxDistance
METHOD method_47057 create (Lnet/minecraft/class_1299;F)Lnet/minecraft/class_7894;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7895 net/minecraft/entity/ai/brain/task/FollowMobWithIntervalTask
CLASS net/minecraft/class_7895 net/minecraft/entity/ai/brain/task/LookAtMobWithIntervalTask
METHOD method_47067 follow (FLnet/minecraft/class_6019;)Lnet/minecraft/class_7893;
ARG 0 maxDistance
ARG 1 interval