Class Cat.CatRelaxOnOwnerGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.animal.Cat.CatRelaxOnOwnerGoal
- Enclosing class:
- Cat
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
cat
-
ownerPlayer
-
goalPos
-
onBedTicks
private int onBedTicks
-
-
Constructor Details
-
CatRelaxOnOwnerGoal
-
-
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()
-