Class Fox.PerchAndSearchGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.animal.Fox.FoxBehaviorGoal
net.minecraft.world.entity.animal.Fox.PerchAndSearchGoal
- Enclosing class:
- Fox
-
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.world.entity.animal.Fox.FoxBehaviorGoal
alertable, hasShelter
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
relX
private double relX -
relZ
private double relZ -
lookTime
private int lookTime -
looksRemaining
private int looksRemaining
-
-
Constructor Details
-
PerchAndSearchGoal
public PerchAndSearchGoal()
-
-
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()
-