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 SummaryFieldsModifier and TypeFieldDescriptionprivate intprivate static final int
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraft.world.entity.animal.Fox.FoxBehaviorGoalalertable, hasShelterMethods inherited from class net.minecraft.world.entity.ai.goal.GoaladjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
- 
Field Details- 
WAIT_TIME_BEFORE_SLEEPprivate static final int WAIT_TIME_BEFORE_SLEEP
- 
countdownprivate int countdown
 
- 
- 
Constructor Details- 
SleepGoalpublic SleepGoal()
 
- 
- 
Method Details- 
canUsepublic boolean canUse()
- 
canContinueToUsepublic boolean canContinueToUse()- Overrides:
- canContinueToUsein class- Goal
 
- 
canSleepprivate boolean canSleep()
- 
stoppublic void stop()
- 
startpublic void start()
 
-