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 bez
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 Lbez;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 Lbez;b:Laxj;
      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 Lbez;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 Lbez;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> Lbez;<init>(Laxj;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 Lbdb;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 g Lbez;g()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 Lbdb;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 Lbez;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;