Class CatSitOnBlockGoal


public class CatSitOnBlockGoal extends MoveToTargetPosGoal
Mappings:
Namespace Name
named net/minecraft/entity/ai/goal/CatSitOnBlockGoal
intermediary net/minecraft/class_1373
official caa
  • Field Details

    • cat

      private final CatEntity cat
      Mappings:
      Namespace Name Mixin selector
      named cat Lnet/minecraft/entity/ai/goal/CatSitOnBlockGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
      intermediary field_6545 Lnet/minecraft/class_1373;field_6545:Lnet/minecraft/class_1451;
      official g Lcaa;g:Lcfh;
  • Constructor Details

    • CatSitOnBlockGoal

      public CatSitOnBlockGoal(CatEntity cat, double speed)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/goal/CatSitOnBlockGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;D)V
      intermediary <init> Lnet/minecraft/class_1373;<init>(Lnet/minecraft/class_1451;D)V
      official <init> Lcaa;<init>(Lcfh;D)V
  • Method Details

    • canStart

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

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