Class UniversalAngerGoal<T extends MobEntity & Angerable>

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.UniversalAngerGoal<T>

public class UniversalAngerGoal<T extends MobEntity & Angerable> extends Goal
Mappings:
Namespace Name
official bkn
intermediary net/minecraft/class_5398
named net/minecraft/entity/ai/goal/UniversalAngerGoal
  • Field Details

    • BOX_VERTICAL_EXPANSION

      private static final int BOX_VERTICAL_EXPANSION
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbkn;a:I
      intermediary field_30232 Lnet/minecraft/class_5398;field_30232:I
      named BOX_VERTICAL_EXPANSION Lnet/minecraft/entity/ai/goal/UniversalAngerGoal;BOX_VERTICAL_EXPANSION:I
    • mob

      private final T extends MobEntity & Angerable mob
      Mappings:
      Namespace Name Mixin selector
      official b Lbkn;b:Lbce;
      intermediary field_25604 Lnet/minecraft/class_5398;field_25604:Lnet/minecraft/class_1308;
      named mob Lnet/minecraft/entity/ai/goal/UniversalAngerGoal;mob:Lnet/minecraft/entity/mob/MobEntity;
    • triggerOthers

      private final boolean triggerOthers
      Mappings:
      Namespace Name Mixin selector
      official c Lbkn;c:Z
      intermediary field_25605 Lnet/minecraft/class_5398;field_25605:Z
      named triggerOthers Lnet/minecraft/entity/ai/goal/UniversalAngerGoal;triggerOthers:Z
    • lastAttackedTime

      private int lastAttackedTime
      Mappings:
      Namespace Name Mixin selector
      official d Lbkn;d:I
      intermediary field_25606 Lnet/minecraft/class_5398;field_25606:I
      named lastAttackedTime Lnet/minecraft/entity/ai/goal/UniversalAngerGoal;lastAttackedTime:I
  • Constructor Details

    • UniversalAngerGoal

      public UniversalAngerGoal(T mob, boolean triggerOthers)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbkn;<init>(Lbce;Z)V
      intermediary <init> Lnet/minecraft/class_5398;<init>(Lnet/minecraft/class_1308;Z)V
      named <init> Lnet/minecraft/entity/ai/goal/UniversalAngerGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;Z)V
  • Method Details

    • canStart

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

      private boolean canStartUniversalAnger()
      Mappings:
      Namespace Name Mixin selector
      official h Lbkn;h()Z
      intermediary method_29932 Lnet/minecraft/class_5398;method_29932()Z
      named canStartUniversalAnger Lnet/minecraft/entity/ai/goal/UniversalAngerGoal;canStartUniversalAnger()Z
    • start

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

      private List<? extends MobEntity> getOthersInRange()
      Mappings:
      Namespace Name Mixin selector
      official i Lbkn;i()Ljava/util/List;
      intermediary method_29933 Lnet/minecraft/class_5398;method_29933()Ljava/util/List;
      named getOthersInRange Lnet/minecraft/entity/ai/goal/UniversalAngerGoal;getOthersInRange()Ljava/util/List;