net.minecraft.entity.passive

class CatEntity$SleepWithOwnerGoal

extends Goal

net.minecraft.world.entity.animal.feline.Cat$CatRelaxOnOwnerGoal
net.minecraft.class_1451$class_3699
net.minecraft.entity.passive.CatEntity$SleepWithOwnerGoal

Field summary

Modifier and TypeField
private final CatEntity
cat
field_16297
cat
private PlayerEntity
ownerPlayer
field_16295
owner
private BlockPos
goalPos
field_16294
bedPos
private int
onBedTicks
field_16296
ticksOnBed

Constructor summary

ModifierConstructor
public (CatEntity cat)

Method summary

Modifier and TypeMethod
public boolean
canUse()
method_6264()
canStart()
private boolean
spaceIsOccupied()
method_16098()
cannotSleep()
public boolean
canContinueToUse()
method_6266()
shouldContinue()
public void
start()
method_6269()
start()
public void
stop()
method_6270()
stop()
private void
giveMorningGift()
method_16097()
dropMorningGifts()
public void
tick()
method_6268()
tick()
private void
lambda$giveMorningGift$0(BlockPos$MutableBlockPos arg0, ServerLevel arg1, ItemStack arg2)
method_64176(class_2338$class_2339 arg0, class_3218 arg1, class_1799 arg2)
method_64176(BlockPos$Mutable arg0, ServerWorld world, ItemStack stack)
private static BlockPos
lambda$canUse$1(BlockPos arg0)
method_27800(class_2338 arg0)
method_27800(BlockPos arg0)
private static BlockPos
lambda$canUse$0(BlockPos arg0, Direction arg1)
method_27801(class_2338 arg0, class_2350 arg1)
method_27801(BlockPos arg0, Direction direction)