Class CatSitOnBlockGoal


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

    • ocelot

      private final OcelotEntity ocelot
      Mappings:
      Namespace Name Mixin selector
      official c Luy;c:Lxb;
      intermediary field_3562 Lnet/minecraft/class_910;field_3562:Lnet/minecraft/class_947;
      named ocelot Lnet/minecraft/entity/ai/goal/CatSitOnBlockGoal;ocelot:Lnet/minecraft/entity/passive/OcelotEntity;
  • Constructor Details

    • CatSitOnBlockGoal

      public CatSitOnBlockGoal(OcelotEntity ocelot, double speed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Luy;<init>(Lxb;D)V
      intermediary <init> Lnet/minecraft/class_910;<init>(Lnet/minecraft/class_947;D)V
      named <init> Lnet/minecraft/entity/ai/goal/CatSitOnBlockGoal;<init>(Lnet/minecraft/entity/passive/OcelotEntity;D)V
  • Method Details

    • canStart

      public boolean canStart()
      Overrides:
      canStart in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      official a Lui;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 MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      official c Lui;c()V
      intermediary method_2747 Lnet/minecraft/class_896;method_2747()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 Lui;d()V
      intermediary method_2745 Lnet/minecraft/class_896;method_2745()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 Lui;e()V
      intermediary method_2746 Lnet/minecraft/class_896;method_2746()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
    • isTargetPos

      protected boolean isTargetPos(World world, BlockPos pos)
      Specified by:
      isTargetPos in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      official a Luu;a(Lajs;Lco;)Z
      intermediary method_11012 Lnet/minecraft/class_2615;method_11012(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Z
      named isTargetPos Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z