Package net.minecraft.entity.passive
Class FoxEntity.LookAtEntityGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.LookAtEntityGoal
net.minecraft.entity.passive.FoxEntity.LookAtEntityGoal
- Enclosing class:
- FoxEntity
class FoxEntity.LookAtEntityGoal extends LookAtEntityGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.LookAtEntityGoal
chance, mob, range, target, targetPredicate, targetType -
Constructor Summary
Constructors Constructor Description LookAtEntityGoal(MobEntity fox, Class<? extends LivingEntity> targetType, float range) -
Method Summary
Modifier and Type Method Description booleancanStart()booleanshouldContinue()Methods inherited from class net.minecraft.entity.ai.goal.LookAtEntityGoal
start, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Constructor Details
-
LookAtEntityGoal
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classLookAtEntityGoal
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classLookAtEntityGoal
-