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
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate doubleprivate double - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class net.minecraft.world.entity.animal.Fox.FoxBehaviorGoal
alertable, hasShelterMethods 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:
 canContinueToUsein classGoal
 - 
start
public void start() - 
stop
public void stop() - 
tick
public void tick() - 
resetLook
private void resetLook() 
 -