Package net.minecraft.entity.ai.goal
Class GoToEntityTargetGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.GoToEntityTargetGoal
public class GoToEntityTargetGoal extends Goal
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description private floatmaxDistanceprivate MobEntityWithAimobprivate doublespeedprivate LivingEntitytargetprivate doublexprivate doubleyprivate doublez -
Constructor Summary
Constructors Constructor Description GoToEntityTargetGoal(MobEntityWithAi mob, double speed, float maxDistance) -
Method Summary
Modifier and Type Method Description booleancanStart()booleanshouldContinue()voidstart()voidstop()Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString