Package net.minecraft.entity.passive
Class FoxEntity.WatchGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.LookAtGoal
net.minecraft.entity.passive.FoxEntity.WatchGoal
- Enclosing class:
- FoxEntity
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.LookAtGoal
lookAt, lookAtContext, lookAtType, lookDistance, mob, probability
-
Constructor Summary
ConstructorDescriptionWatchGoal
(MobEntity p_i50733_2_, Class<? extends LivingEntity> p_i50733_3_, float p_i50733_4_) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.LookAtGoal
start, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Constructor Details
-
WatchGoal
public WatchGoal(MobEntity p_i50733_2_, Class<? extends LivingEntity> p_i50733_3_, float p_i50733_4_)
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classLookAtGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classLookAtGoal
-