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
named net/minecraft/entity/mob/PatrolEntity$PatrolGoal
intermediary net/minecraft/class_3732$class_3733
official cke$a
  • Field Details

    • field_30474

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

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

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

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

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

    • PatrolGoal

      public PatrolGoal(T entity, double leaderSpeed, double followSpeed)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;<init>(Lnet/minecraft/entity/mob/PatrolEntity;DD)V
      intermediary <init> Lnet/minecraft/class_3732$class_3733;<init>(Lnet/minecraft/class_3732;DD)V
      official <init> Lcke$a;<init>(Lcke;DD)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
    • 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
    • stop

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

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

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

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