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
FieldsModifier and TypeFieldDescriptionprivate intprivate static final int - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class net.minecraft.world.entity.animal.Fox.FoxBehaviorGoal
alertable, hasShelterMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString 
- 
Field Details
- 
WAIT_TIME_BEFORE_SLEEP
private static final int WAIT_TIME_BEFORE_SLEEP - 
countdown
private int countdown 
 - 
 - 
Constructor Details
- 
SleepGoal
public SleepGoal() 
 - 
 - 
Method Details
- 
canUse
public boolean canUse() - 
canContinueToUse
public boolean canContinueToUse()- Overrides:
 canContinueToUsein classGoal
 - 
canSleep
private boolean canSleep() - 
stop
public void stop() - 
start
public void start() 
 -