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 - official - bmi- intermediary - net/minecraft/class_3697- named - net/minecraft/entity/ai/goal/GoToBedAndSleepGoal
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.entity.ai.goal.GoalGoal.Control
- 
Field SummaryFieldsFields inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoalcooldown, lowestY, mob, speed, targetPos, tryingTime
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoalfindTargetPos, getDesiredDistanceToTarget, getTargetPos, hasReached, shouldContinue, shouldResetPath, shouldRunEveryTick, startMovingToTargetMethods inherited from class net.minecraft.entity.ai.goal.GoalcanStop, getControls, getTickCount, setControls, toGoalTicks, toString
- 
Field Details- 
cat- Mappings:
- Namespace - Name - Mixin selector - official - g- Lbmi;g:Lbro;- intermediary - field_16282- Lnet/minecraft/class_3697;field_16282:Lnet/minecraft/class_1451;- named - cat- Lnet/minecraft/entity/ai/goal/GoToBedAndSleepGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
 
 
- 
- 
Constructor Details- 
GoToBedAndSleepGoal- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbmi;<init>(Lbro;DI)V- intermediary - <init>- Lnet/minecraft/class_3697;<init>(Lnet/minecraft/class_1451;DI)V- named - <init>- Lnet/minecraft/entity/ai/goal/GoToBedAndSleepGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;DI)V
 
 
- 
- 
Method Details- 
canStartpublic boolean canStart()- Overrides:
- canStartin class- MoveToTargetPosGoal
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbmv;a()Z- intermediary - method_6264- Lnet/minecraft/class_1352;method_6264()Z- named - canStart- Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
 
- 
startpublic void start()- Overrides:
- startin class- MoveToTargetPosGoal
- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbmv;c()V- intermediary - method_6269- Lnet/minecraft/class_1352;method_6269()V- named - start- Lnet/minecraft/entity/ai/goal/Goal;start()V
 
- 
getInterval- Overrides:
- getIntervalin class- MoveToTargetPosGoal
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbni;a(Lbgi;)I- intermediary - method_6293- Lnet/minecraft/class_1367;method_6293(Lnet/minecraft/class_1314;)I- named - getInterval- Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getInterval(Lnet/minecraft/entity/mob/PathAwareEntity;)I
 
- 
stoppublic void stop()
- 
tickpublic void tick()- Overrides:
- tickin class- MoveToTargetPosGoal
- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbmv;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:
- isTargetPosin class- MoveToTargetPosGoal
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbni;a(Lcmp;Lgu;)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
 
 
-