Package net.minecraft.entity.passive
Class CatEntity.MorningGiftGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.CatEntity.MorningGiftGoal
- Enclosing class:
- CatEntity
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final CatEntity
private BlockPos
private int
private PlayerEntity
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
cat
-
ownerPlayer
-
goalPos
-
onBedTicks
private int onBedTicks
-
-
Constructor Details
-
MorningGiftGoal
-
-
Method Details
-
canUse
public boolean canUse() -
spaceIsOccupied
private boolean spaceIsOccupied() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
start
public void start() -
stop
public void stop() -
giveMorningGift
private void giveMorningGift() -
tick
public void tick()
-