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 SummaryFieldsModifier and TypeFieldDescriptionprivate intprivate intprivate doubleprivate double
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraft.world.entity.animal.Fox.FoxBehaviorGoalalertable, hasShelterMethods inherited from class net.minecraft.world.entity.ai.goal.GoaladjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
- 
Field Details- 
relXprivate double relX
- 
relZprivate double relZ
- 
lookTimeprivate int lookTime
- 
looksRemainingprivate int looksRemaining
 
- 
- 
Constructor Details- 
PerchAndSearchGoalpublic PerchAndSearchGoal()
 
- 
- 
Method Details- 
canUsepublic boolean canUse()
- 
canContinueToUsepublic boolean canContinueToUse()- Overrides:
- canContinueToUsein class- Goal
 
- 
startpublic void start()
- 
stoppublic void stop()
- 
tickpublic void tick()
- 
resetLookprivate void resetLook()
 
-