Package net.minecraft.entity.ai.goal
Class GoToBedAndSleepGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveToTargetPosGoal
net.minecraft.entity.ai.goal.GoToBedAndSleepGoal
Makes a
CatEntity go to a bed and sleep.- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/GoToBedAndSleepGoalintermediary net/minecraft/class_3697official bzz
-
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, 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/GoToBedAndSleepGoal;cat:Lnet/minecraft/entity/passive/CatEntity;intermediary field_16282Lnet/minecraft/class_3697;field_16282:Lnet/minecraft/class_1451;official gLbzz;g:Lcfh;
-
-
Constructor Details
-
GoToBedAndSleepGoal
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/ai/goal/GoToBedAndSleepGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;DI)Vintermediary <init>Lnet/minecraft/class_3697;<init>(Lnet/minecraft/class_1451;DI)Vofficial <init>Lbzz;<init>(Lcfh;DI)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
-
getInterval
- Overrides:
getIntervalin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector named getIntervalLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getInterval(Lnet/minecraft/entity/mob/PathAwareEntity;)Iintermediary method_6293Lnet/minecraft/class_1367;method_6293(Lnet/minecraft/class_1314;)Iofficial aLcaz;a(Lbtw;)I
-
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
-