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 int
countdown
-
Constructor Summary
Constructors Constructor Description SleepGoal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
private boolean
canSleep()
boolean
canUse()
void
start()
void
stop()
-
Methods inherited from class net.minecraft.entity.passive.FoxEntity.BaseGoal
alertable, hasShelter
-
-
-
-
Method Detail
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classGoal
-
canSleep
private boolean canSleep()
-
-