Class Fox.SleepGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.animal.Fox.FoxBehaviorGoal
net.minecraft.world.entity.animal.Fox.SleepGoal
- Enclosing class:
- Fox
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.animal.Fox.FoxBehaviorGoal
alertable, hasShelter
-
Field Details
-
WAIT_TIME_BEFORE_SLEEP
private static final int WAIT_TIME_BEFORE_SLEEP- See Also:
- Constant Field Values
-
countdown
private int countdown
-
-
Constructor Details
-
SleepGoal
public SleepGoal()
-
-
Method Details
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
canSleep
private boolean canSleep() -
stop
public void stop() -
start
public void start()
-