Package net.minecraft.entity.ai.goal
Class MoveTowardsTargetGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.MoveTowardsTargetGoal
-
public class MoveTowardsTargetGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private CreatureEntity
mob
private double
speedModifier
private LivingEntity
target
private double
wantedX
private double
wantedY
private double
wantedZ
private float
within
-
Constructor Summary
Constructors Constructor Description MoveTowardsTargetGoal(CreatureEntity p_i1640_1_, double p_i1640_2_, float p_i1640_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
void
start()
void
stop()
-
-
-
Field Detail
-
mob
private final CreatureEntity mob
-
target
private LivingEntity target
-
wantedX
private double wantedX
-
wantedY
private double wantedY
-
wantedZ
private double wantedZ
-
speedModifier
private final double speedModifier
-
within
private final float within
-
-
Constructor Detail
-
MoveTowardsTargetGoal
public MoveTowardsTargetGoal(CreatureEntity p_i1640_1_, double p_i1640_2_, float p_i1640_4_)
-
-