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 CatEntity
cat
private BlockPos
goalPos
private int
onBedTicks
private PlayerEntity
ownerPlayer
-
Constructor Summary
Constructors Constructor Description MorningGiftGoal(CatEntity p_i50439_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
private void
giveMorningGift()
private boolean
spaceIsOccupied()
void
start()
void
stop()
void
tick()
-
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:
canContinueToUse
in classGoal
-
giveMorningGift
private void giveMorningGift()
-
-