Package net.minecraft.entity.ai.goal
Class CatSitOnBlockGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveToTargetPosGoal
net.minecraft.entity.ai.goal.CatSitOnBlockGoal
public class CatSitOnBlockGoal extends MoveToTargetPosGoal
- Mappings:
Namespace Name official awm
intermediary net/minecraft/class_1373
named net/minecraft/entity/ai/goal/CatSitOnBlockGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime
-
Constructor Summary
Constructors Constructor Description CatSitOnBlockGoal(CatEntity cat, double speed)
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredSquaredDistanceToTarget, getInterval, getTargetPos, hasReached, shouldContinue, shouldResetPath, startMovingToTarget
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
cat
- Mappings:
Namespace Name Mixin selector official g
Lawm;g:Lbbm;
intermediary field_6545
Lnet/minecraft/class_1373;field_6545:Lnet/minecraft/class_1451;
named cat
Lnet/minecraft/entity/ai/goal/CatSitOnBlockGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
-
-
Constructor Details
-
CatSitOnBlockGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lawm;<init>(Lbbm;D)V
intermediary <init>
Lnet/minecraft/class_1373;<init>(Lnet/minecraft/class_1451;D)V
named <init>
Lnet/minecraft/entity/ai/goal/CatSitOnBlockGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;D)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official a
Lawx;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 classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official c
Lawx;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() -
tick
public void tick()- Overrides:
tick
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official e
Lawx;e()V
intermediary method_6268
Lnet/minecraft/class_1352;method_6268()V
named tick
Lnet/minecraft/entity/ai/goal/Goal;tick()V
-
isTargetPos
- Specified by:
isTargetPos
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official a
Laxl;a(Lbty;Lfx;)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
-