FollowTargetGoal -> ActiveTargetGoal (#2561)

* FollowTargetGoal -> TrackClosestTargetGoal

* update with some child class renames too

* Update mappings

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
frqnny 2021-09-14 16:22:32 -04:00 committed by GitHub
parent 0b4b9aaa85
commit 2575997c1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_1400 net/minecraft/entity/ai/goal/FollowTargetGoal
CLASS net/minecraft/class_1400 net/minecraft/entity/ai/goal/ActiveTargetGoal
FIELD field_6641 reciprocalChance I
FIELD field_6642 targetPredicate Lnet/minecraft/class_4051;
FIELD field_6643 targetClass Ljava/lang/Class;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_3760 net/minecraft/entity/ai/goal/DisableableFollowTargetGoal
CLASS net/minecraft/class_3760 net/minecraft/entity/ai/goal/ToggleableActiveTargetGoal
FIELD field_17281 enabled Z
METHOD <init> (Lnet/minecraft/class_3763;Ljava/lang/Class;IZZLjava/util/function/Predicate;)V
ARG 1 actor

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_1404 net/minecraft/entity/ai/goal/FollowTargetIfTamedGoal
CLASS net/minecraft/class_1404 net/minecraft/entity/ai/goal/UntamedActiveTargetGoal
FIELD field_6656 tameable Lnet/minecraft/class_1321;
METHOD <init> (Lnet/minecraft/class_1321;Ljava/lang/Class;ZLjava/util/function/Predicate;)V
ARG 1 tameable

View File

@ -13,7 +13,7 @@ CLASS net/minecraft/class_1628 net/minecraft/entity/mob/SpiderEntity
FIELD field_7404 effect Lnet/minecraft/class_1291;
METHOD method_7168 setEffect (Ljava/util/Random;)V
ARG 1 random
CLASS class_1631 FollowTargetGoal
CLASS class_1631 TargetGoal
METHOD <init> (Lnet/minecraft/class_1628;Ljava/lang/Class;)V
ARG 1 spider
ARG 2 targetEntityClass

View File

@ -5,7 +5,7 @@ CLASS net/minecraft/class_1632 net/minecraft/entity/mob/VindicatorEntity
METHOD method_20007 (Lnet/minecraft/class_1267;)Z
ARG 0 difficulty
METHOD method_26926 createVindicatorAttributes ()Lnet/minecraft/class_5132$class_5133;
CLASS class_1633 FollowEntityGoal
CLASS class_1633 TargetGoal
METHOD <init> (Lnet/minecraft/class_1632;)V
ARG 1 vindicator
CLASS class_3761 BreakDoorGoal

View File

@ -19,7 +19,7 @@ CLASS net/minecraft/class_1456 net/minecraft/entity/passive/PolarBearEntity
METHOD method_6602 playWarningSound ()V
METHOD method_6603 setWarning (Z)V
ARG 1 warning
CLASS class_1457 FollowPlayersGoal
CLASS class_1457 ProtectBabiesGoal
CLASS class_1459 PolarBearRevengeGoal
CLASS class_1460 AttackGoal
CLASS class_1461 PolarBearEscapeDangerGoal