Package net.minecraft.entity.ai.goal
Class StopAndLookAtEntityGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.LookAtEntityGoal
net.minecraft.entity.ai.goal.StopAndLookAtEntityGoal
public class StopAndLookAtEntityGoal 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 StopAndLookAtEntityGoal(MobEntity mob, Class<? extends LivingEntity> targetType, float range, float chance) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.LookAtEntityGoal
canStart, shouldContinue, start, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Constructor Details
-
StopAndLookAtEntityGoal
public StopAndLookAtEntityGoal(MobEntity mob, Class<? extends LivingEntity> targetType, float range, float chance)
-