Class GoToOwnerAndPurrGoal


public class GoToOwnerAndPurrGoal extends MoveToTargetPosGoal
Mappings:
Namespace Name
official azc
intermediary net/minecraft/class_3697
named net/minecraft/entity/ai/goal/GoToOwnerAndPurrGoal
  • Field Details

    • cat

      private final CatEntity cat
      Mappings:
      Namespace Name Mixin selector
      official g Lazc;g:Lbea;
      intermediary field_16282 Lnet/minecraft/class_3697;field_16282:Lnet/minecraft/class_1451;
      named cat Lnet/minecraft/entity/ai/goal/GoToOwnerAndPurrGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
  • Constructor Details

    • GoToOwnerAndPurrGoal

      public GoToOwnerAndPurrGoal(CatEntity cat, double speed, int range)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lazc;<init>(Lbea;DI)V
      intermediary <init> Lnet/minecraft/class_3697;<init>(Lnet/minecraft/class_1451;DI)V
      named <init> Lnet/minecraft/entity/ai/goal/GoToOwnerAndPurrGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;DI)V
  • Method Details

    • canStart

      public boolean canStart()
      Overrides:
      canStart in class MoveToTargetPosGoal
      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 MoveToTargetPosGoal
      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
    • getInterval

      protected int getInterval(PathAwareEntity mob)
      Overrides:
      getInterval in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      official a Lbab;a(Lauc;)I
      intermediary method_6293 Lnet/minecraft/class_1367;method_6293(Lnet/minecraft/class_1314;)I
      named getInterval Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getInterval(Lnet/minecraft/entity/mob/PathAwareEntity;)I
    • 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 MoveToTargetPosGoal
      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
    • isTargetPos

      protected boolean isTargetPos(WorldView world, BlockPos pos)
      Specified by:
      isTargetPos in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      official a Lbab;a(Lbws;Lgg;)Z
      intermediary method_6296 Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
      named isTargetPos Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z