Class EscapeDangerGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.EscapeDangerGoal
Direct Known Subclasses:
class_2630

public class EscapeDangerGoal extends Goal
Mappings:
Namespace Name
official zu
intermediary net/minecraft/class_914
named net/minecraft/entity/ai/goal/EscapeDangerGoal
  • Field Details

    • mob

      private PathAwareEntity mob
      Mappings:
      Namespace Name Mixin selector
      official b Lzu;b:Lxu;
      intermediary field_3579 Lnet/minecraft/class_914;field_3579:Lnet/minecraft/class_877;
      named mob Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;mob:Lnet/minecraft/entity/PathAwareEntity;
    • speed

      protected double speed
      Mappings:
      Namespace Name Mixin selector
      official a Lzu;a:D
      intermediary field_6853 Lnet/minecraft/class_914;field_6853:D
      named speed Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;speed:D
    • targetX

      private double targetX
      Mappings:
      Namespace Name Mixin selector
      official c Lzu;c:D
      intermediary field_3581 Lnet/minecraft/class_914;field_3581:D
      named targetX Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;targetX:D
    • targetY

      private double targetY
      Mappings:
      Namespace Name Mixin selector
      official d Lzu;d:D
      intermediary field_3582 Lnet/minecraft/class_914;field_3582:D
      named targetY Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;targetY:D
    • targetZ

      private double targetZ
      Mappings:
      Namespace Name Mixin selector
      official e Lzu;e:D
      intermediary field_3583 Lnet/minecraft/class_914;field_3583:D
      named targetZ Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;targetZ:D
  • Constructor Details

    • EscapeDangerGoal

      public EscapeDangerGoal(PathAwareEntity mob, double speed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzu;<init>(Lxu;D)V
      intermediary <init> Lnet/minecraft/class_914;<init>(Lnet/minecraft/class_877;D)V
      named <init> Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;<init>(Lnet/minecraft/entity/PathAwareEntity;D)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lzb;a()Z
      intermediary method_2742 Lnet/minecraft/class_896;method_2742()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • start

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      official c Lzb;c()V
      intermediary method_2747 Lnet/minecraft/class_896;method_2747()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      official b Lzb;b()Z
      intermediary method_2744 Lnet/minecraft/class_896;method_2744()Z
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z