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
class FoxEntity.WatchGoal extends LookAtGoal
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.ai.goal.LookAtGoal
lookAt, lookAtContext, lookAtType, lookDistance, mob, probability
-
-
Constructor Summary
Constructors Constructor Description WatchGoal(MobEntity p_i50733_2_, java.lang.Class<? extends LivingEntity> p_i50733_3_, float p_i50733_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
-
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 Detail
-
WatchGoal
public WatchGoal(MobEntity p_i50733_2_, java.lang.Class<? extends LivingEntity> p_i50733_3_, float p_i50733_4_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classLookAtGoal
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classLookAtGoal
-
-