Browse Source

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>
21w37a-wip
frqnny 1 month ago
committed by GitHub
parent
commit
2575997c1d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mappings/net/minecraft/entity/ai/goal/ActiveTargetGoal.mapping
  2. 2
      mappings/net/minecraft/entity/ai/goal/ToggleableActiveTargetGoal.mapping
  3. 2
      mappings/net/minecraft/entity/ai/goal/UntamedActiveTargetGoal.mapping
  4. 2
      mappings/net/minecraft/entity/mob/SpiderEntity.mapping
  5. 2
      mappings/net/minecraft/entity/mob/VindicatorEntity.mapping
  6. 2
      mappings/net/minecraft/entity/passive/PolarBearEntity.mapping

2
mappings/net/minecraft/entity/ai/goal/FollowTargetGoal.mapping → mappings/net/minecraft/entity/ai/goal/ActiveTargetGoal.mapping

@ -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;

2
mappings/net/minecraft/entity/ai/goal/DisableableFollowTargetGoal.mapping → mappings/net/minecraft/entity/ai/goal/ToggleableActiveTargetGoal.mapping

@ -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

2
mappings/net/minecraft/entity/ai/goal/FollowTargetIfTamedGoal.mapping → mappings/net/minecraft/entity/ai/goal/UntamedActiveTargetGoal.mapping

@ -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

2
mappings/net/minecraft/entity/mob/SpiderEntity.mapping

@ -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

2
mappings/net/minecraft/entity/mob/VindicatorEntity.mapping

@ -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

2
mappings/net/minecraft/entity/passive/PolarBearEntity.mapping

@ -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
Loading…
Cancel
Save