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
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private double
private double
-
Constructor Summary
-
Method Summary
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
-
Field Details
-
relX
private double relX -
relZ
private double relZ -
lookTime
private int lookTime -
looksRemaining
private int looksRemaining
-
-
Constructor Details
-
SitAndLookGoal
public SitAndLookGoal()
-
-
Method Details
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick() -
resetLook
private void resetLook()
-