Class RevengeGoal

Direct Known Subclasses:
BeeEntity.BeeRevengeGoal, LlamaEntity.SpitRevengeGoal, PandaEntity.PandaRevengeGoal, PolarBearEntity.PolarBearRevengeGoal

public class RevengeGoal extends TrackTargetGoal
Mappings:
Namespace Name
official bbf
intermediary net/minecraft/class_1399
named net/minecraft/entity/ai/goal/RevengeGoal
  • Field Details

    • VALID_AVOIDABLES_PREDICATE

      private static final TargetPredicate VALID_AVOIDABLES_PREDICATE
      Mappings:
      Namespace Name Mixin selector
      official a Lbbf;a:Lbcz;
      intermediary field_18091 Lnet/minecraft/class_1399;field_18091:Lnet/minecraft/class_4051;
      named VALID_AVOIDABLES_PREDICATE Lnet/minecraft/entity/ai/goal/RevengeGoal;VALID_AVOIDABLES_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
    • BOX_VERTICAL_EXPANSION

      private static final int BOX_VERTICAL_EXPANSION
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Lbbf;b:I
      intermediary field_30230 Lnet/minecraft/class_1399;field_30230:I
      named BOX_VERTICAL_EXPANSION Lnet/minecraft/entity/ai/goal/RevengeGoal;BOX_VERTICAL_EXPANSION:I
    • groupRevenge

      private boolean groupRevenge
      Mappings:
      Namespace Name Mixin selector
      official c Lbbf;c:Z
      intermediary field_6639 Lnet/minecraft/class_1399;field_6639:Z
      named groupRevenge Lnet/minecraft/entity/ai/goal/RevengeGoal;groupRevenge:Z
    • lastAttackedTime

      private int lastAttackedTime
      Mappings:
      Namespace Name Mixin selector
      official d Lbbf;d:I
      intermediary field_6638 Lnet/minecraft/class_1399;field_6638:I
      named lastAttackedTime Lnet/minecraft/entity/ai/goal/RevengeGoal;lastAttackedTime:I
    • noRevengeTypes

      private final Class<?>[] noRevengeTypes
      Mappings:
      Namespace Name Mixin selector
      official i Lbbf;i:[Ljava/lang/Class;
      intermediary field_6637 Lnet/minecraft/class_1399;field_6637:[Ljava/lang/Class;
      named noRevengeTypes Lnet/minecraft/entity/ai/goal/RevengeGoal;noRevengeTypes:[Ljava/lang/Class;
    • noHelpTypes

      private Class<?>[] noHelpTypes
      Mappings:
      Namespace Name Mixin selector
      official j Lbbf;j:[Ljava/lang/Class;
      intermediary field_6640 Lnet/minecraft/class_1399;field_6640:[Ljava/lang/Class;
      named noHelpTypes Lnet/minecraft/entity/ai/goal/RevengeGoal;noHelpTypes:[Ljava/lang/Class;
  • Constructor Details

    • RevengeGoal

      public RevengeGoal(PathAwareEntity mob, Class<?>[] noRevengeTypes)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbbf;<init>(Lauc;[Ljava/lang/Class;)V
      intermediary <init> Lnet/minecraft/class_1399;<init>(Lnet/minecraft/class_1314;[Ljava/lang/Class;)V
      named <init> Lnet/minecraft/entity/ai/goal/RevengeGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;[Ljava/lang/Class;)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lazo;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • setGroupRevenge

      public RevengeGoal setGroupRevenge(Class<?>[] noHelpTypes)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbf;a([Ljava/lang/Class;)Lbbf;
      intermediary method_6318 Lnet/minecraft/class_1399;method_6318([Ljava/lang/Class;)Lnet/minecraft/class_1399;
      named setGroupRevenge Lnet/minecraft/entity/ai/goal/RevengeGoal;setGroupRevenge([Ljava/lang/Class;)Lnet/minecraft/entity/ai/goal/RevengeGoal;
    • start

      public void start()
      Overrides:
      start in class TrackTargetGoal
      Mappings:
      Namespace Name Mixin selector
      official c Lazo;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • callSameTypeForRevenge

      protected void callSameTypeForRevenge()
      Mappings:
      Namespace Name Mixin selector
      official g Lbbf;g()V
      intermediary method_6317 Lnet/minecraft/class_1399;method_6317()V
      named callSameTypeForRevenge Lnet/minecraft/entity/ai/goal/RevengeGoal;callSameTypeForRevenge()V
    • setMobEntityTarget

      protected void setMobEntityTarget(MobEntity mob, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbf;a(Latv;Latt;)V
      intermediary method_6319 Lnet/minecraft/class_1399;method_6319(Lnet/minecraft/class_1308;Lnet/minecraft/class_1309;)V
      named setMobEntityTarget Lnet/minecraft/entity/ai/goal/RevengeGoal;setMobEntityTarget(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/entity/LivingEntity;)V