Class PatrolEntity.PatrolGoal<T extends PatrolEntity>

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.PatrolEntity.PatrolGoal<T>
Enclosing class:
PatrolEntity

public static class PatrolEntity.PatrolGoal<T extends PatrolEntity> extends Goal
Mappings:
Namespace Name
official bhy$a
intermediary net/minecraft/class_3732$class_3733
named net/minecraft/entity/mob/PatrolEntity$PatrolGoal
  • Field Details

    • field_30474

      private static final int field_30474
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lbhy$a;a:I
      intermediary field_30474 Lnet/minecraft/class_3732$class_3733;field_30474:I
      named field_30474 Lnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;field_30474:I
    • entity

      private final T extends PatrolEntity entity
      Mappings:
      Namespace Name Mixin selector
      official b Lbhy$a;b:Lbhy;
      intermediary field_16481 Lnet/minecraft/class_3732$class_3733;field_16481:Lnet/minecraft/class_3732;
      named entity Lnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;entity:Lnet/minecraft/entity/mob/PatrolEntity;
    • leaderSpeed

      private final double leaderSpeed
      Mappings:
      Namespace Name Mixin selector
      official c Lbhy$a;c:D
      intermediary field_16480 Lnet/minecraft/class_3732$class_3733;field_16480:D
      named leaderSpeed Lnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;leaderSpeed:D
    • followSpeed

      private final double followSpeed
      Mappings:
      Namespace Name Mixin selector
      official d Lbhy$a;d:D
      intermediary field_16535 Lnet/minecraft/class_3732$class_3733;field_16535:D
      named followSpeed Lnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;followSpeed:D
    • nextPatrolSearchTime

      private long nextPatrolSearchTime
      Mappings:
      Namespace Name Mixin selector
      official e Lbhy$a;e:J
      intermediary field_20701 Lnet/minecraft/class_3732$class_3733;field_20701:J
      named nextPatrolSearchTime Lnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;nextPatrolSearchTime:J
  • Constructor Details

    • PatrolGoal

      public PatrolGoal(T entity, double leaderSpeed, double followSpeed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbhy$a;<init>(Lbhy;DD)V
      intermediary <init> Lnet/minecraft/class_3732$class_3733;<init>(Lnet/minecraft/class_3732;DD)V
      named <init> Lnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;<init>(Lnet/minecraft/entity/mob/PatrolEntity;DD)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lazo;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()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 Lazo;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • stop

      public void stop()
      Overrides:
      stop in class Goal
      Mappings:
      Namespace Name Mixin selector
      official d Lazo;d()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lazo;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
    • findPatrolTargets

      private List<PatrolEntity> findPatrolTargets()
      Mappings:
      Namespace Name Mixin selector
      official g Lbhy$a;g()Ljava/util/List;
      intermediary method_22333 Lnet/minecraft/class_3732$class_3733;method_22333()Ljava/util/List;
      named findPatrolTargets Lnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;findPatrolTargets()Ljava/util/List;
    • wander

      private boolean wander()
      Mappings:
      Namespace Name Mixin selector
      official h Lbhy$a;h()Z
      intermediary method_16222 Lnet/minecraft/class_3732$class_3733;method_16222()Z
      named wander Lnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;wander()Z