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/GoToBedAndSleepGoal
intermediary net/minecraft/class_3697
official bzz
-
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
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredDistanceToTarget, getTargetPos, hasReached, shouldContinue, shouldResetPath, shouldRunEveryTick, startMovingToTarget
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, toGoalTicks, toString
-
Field Details
-
cat
- Mappings:
Namespace Name Mixin selector named cat
Lnet/minecraft/entity/ai/goal/GoToBedAndSleepGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
intermediary field_16282
Lnet/minecraft/class_3697;field_16282:Lnet/minecraft/class_1451;
official g
Lbzz;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)V
intermediary <init>
Lnet/minecraft/class_3697;<init>(Lnet/minecraft/class_1451;DI)V
official <init>
Lbzz;<init>(Lcfh;DI)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
official b
Lcam;b()Z
-
start
public void start()- Overrides:
start
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/entity/ai/goal/Goal;start()V
intermediary method_6269
Lnet/minecraft/class_1352;method_6269()V
official d
Lcam;d()V
-
getInterval
- Overrides:
getInterval
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector named getInterval
Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getInterval(Lnet/minecraft/entity/mob/PathAwareEntity;)I
intermediary method_6293
Lnet/minecraft/class_1367;method_6293(Lnet/minecraft/class_1314;)I
official a
Lcaz;a(Lbtw;)I
-
stop
public void stop() -
tick
public void tick()- Overrides:
tick
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/ai/goal/Goal;tick()V
intermediary method_6268
Lnet/minecraft/class_1352;method_6268()V
official a
Lcam;a()V
-
isTargetPos
- Specified by:
isTargetPos
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector named isTargetPos
Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_6296
Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
official a
Lcaz;a(Ldcz;Ljd;)Z
-