Class Fox.PerchAndSearchGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.animal.fox.Fox.FoxBehaviorGoal
net.minecraft.world.entity.animal.fox.Fox.PerchAndSearchGoal
- Enclosing class:
Fox
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate doubleprivate double -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Fox.FoxBehaviorGoal
alertable, hasShelterMethods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, 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
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUsein classGoal
-
start
-
stop
-
tick
-
resetLook
private void resetLook()
-