Package net.minecraft.entity.passive
Class FoxEntity.SleepGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.passive.FoxEntity.BaseGoal
-
- net.minecraft.entity.passive.FoxEntity.SleepGoal
-
- Enclosing class:
- FoxEntity
class FoxEntity.SleepGoal extends FoxEntity.BaseGoal
-
-
Field Summary
Fields Modifier and Type Field Description private intcountdown
-
Constructor Summary
Constructors Constructor Description SleepGoal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanContinueToUse()private booleancanSleep()booleancanUse()voidstart()voidstop()-
Methods inherited from class net.minecraft.entity.passive.FoxEntity.BaseGoal
alertable, hasShelter
-
-
-
-
Method Detail
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUsein classGoal
-
canSleep
private boolean canSleep()
-
-