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 CreatureEntitymobprivate doublespeedModifierprivate LivingEntitytargetprivate doublewantedXprivate doublewantedYprivate doublewantedZprivate floatwithin
-
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 booleancanContinueToUse()booleancanUse()voidstart()voidstop()
-
-
-
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_)
-
-