net.minecraft.entity.ai.goal

public class GoToBedAndSleepGoal

extends MoveToTargetPosGoal

net.minecraft.world.entity.ai.goal.CatLieOnBedGoal
net.minecraft.class_3697
net.minecraft.entity.ai.goal.GoToBedAndSleepGoal

Field summary

Modifier and TypeField
private final CatEntity
cat
field_16282
cat

Constructor summary

ModifierConstructor
public (CatEntity cat, double speed, int range)

Method summary

Modifier and TypeMethod
public boolean
canUse()
method_6264()
canStart()
public void
start()
method_6269()
start()
protected int
nextStartTick(PathfinderMob mob)
method_6293(class_1314 arg0)
getInterval(PathAwareEntity arg0)
public void
stop()
method_6270()
stop()
public void
tick()
method_6268()
tick()
protected boolean
isValidTarget(LevelReader level, BlockPos pos)
method_6296(class_4538 arg0, class_2338 arg1)
isTargetPos(WorldView arg0, BlockPos arg1)