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
named net/minecraft/entity/ai/goal/UniversalAngerGoal
intermediary net/minecraft/class_5398
official ccl
  • Field Details

    • BOX_VERTICAL_EXPANSION

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

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

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

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

    • UniversalAngerGoal

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

    • canStart

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

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

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

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