Package net.minecraft.entity.passive
Class FoxEntity.SitAndLookGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.passive.FoxEntity.BaseGoal
-
- net.minecraft.entity.passive.FoxEntity.SitAndLookGoal
-
- Enclosing class:
- FoxEntity
class FoxEntity.SitAndLookGoal extends FoxEntity.BaseGoal
-
-
Field Summary
Fields Modifier and Type Field Description private int
looksRemaining
private int
lookTime
private double
relX
private double
relZ
-
Constructor Summary
Constructors Constructor Description SitAndLookGoal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
private void
resetLook()
void
start()
void
stop()
void
tick()
-
Methods inherited from class net.minecraft.entity.passive.FoxEntity.BaseGoal
alertable, hasShelter
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Method Detail
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classGoal
-
resetLook
private void resetLook()
-
-