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

    • mob

      private final T extends MobEntity & Angerable mob
      Mappings:
      Namespace Name Mixin selector
      official a Layy;a:Larj;
      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 b Layy;b: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 c Layy;c: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> Layy;<init>(Larj;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 Lawx;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 Layy;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 Lawx;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 h Layy;h()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;