Package net.minecraft.entity.passive
Class CatEntity.MorningGiftGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.passive.CatEntity.MorningGiftGoal
-
-
Field Summary
Fields Modifier and Type Field Description private CatEntitycatprivate BlockPosgoalPosprivate intonBedTicksprivate PlayerEntityownerPlayer
-
Constructor Summary
Constructors Constructor Description MorningGiftGoal(CatEntity p_i50439_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanContinueToUse()booleancanUse()private voidgiveMorningGift()private booleanspaceIsOccupied()voidstart()voidstop()voidtick()-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Field Detail
-
cat
private final CatEntity cat
-
ownerPlayer
private PlayerEntity ownerPlayer
-
goalPos
private BlockPos goalPos
-
onBedTicks
private int onBedTicks
-
-
Constructor Detail
-
MorningGiftGoal
public MorningGiftGoal(CatEntity p_i50439_1_)
-
-
Method Detail
-
spaceIsOccupied
private boolean spaceIsOccupied()
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUsein classGoal
-
giveMorningGift
private void giveMorningGift()
-
-