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
- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/CatSitOnBlockGoalintermediary net/minecraft/class_1373official caa
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredDistanceToTarget, getInterval, getTargetPos, hasReached, shouldContinue, shouldResetPath, shouldRunEveryTick, startMovingToTargetMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, toGoalTicks, toString
-
Field Details
-
cat
- Mappings:
Namespace Name Mixin selector named catLnet/minecraft/entity/ai/goal/CatSitOnBlockGoal;cat:Lnet/minecraft/entity/passive/CatEntity;intermediary field_6545Lnet/minecraft/class_1373;field_6545:Lnet/minecraft/class_1451;official gLcaa;g:Lcfh;
-
-
Constructor Details
-
CatSitOnBlockGoal
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/ai/goal/CatSitOnBlockGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;D)Vintermediary <init>Lnet/minecraft/class_1373;<init>(Lnet/minecraft/class_1451;D)Vofficial <init>Lcaa;<init>(Lcfh;D)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector named canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Zofficial bLcam;b()Z
-
start
public void start()- Overrides:
startin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector named startLnet/minecraft/entity/ai/goal/Goal;start()Vintermediary method_6269Lnet/minecraft/class_1352;method_6269()Vofficial dLcam;d()V
-
stop
public void stop() -
tick
public void tick()- Overrides:
tickin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/ai/goal/Goal;tick()Vintermediary method_6268Lnet/minecraft/class_1352;method_6268()Vofficial aLcam;a()V
-
isTargetPos
- Specified by:
isTargetPosin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector named isTargetPosLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_6296Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Zofficial aLcaz;a(Ldcz;Ljd;)Z
-