Package net.minecraft.entity.ai.goal
Class MoveTowardsRestrictionGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.MoveTowardsRestrictionGoal
-
public class MoveTowardsRestrictionGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private CreatureEntitymobprivate doublespeedModifierprivate doublewantedXprivate doublewantedYprivate doublewantedZ
-
Constructor Summary
Constructors Constructor Description MoveTowardsRestrictionGoal(CreatureEntity p_i2347_1_, double p_i2347_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanContinueToUse()booleancanUse()voidstart()
-
-
-
Field Detail
-
mob
private final CreatureEntity mob
-
wantedX
private double wantedX
-
wantedY
private double wantedY
-
wantedZ
private double wantedZ
-
speedModifier
private final double speedModifier
-
-
Constructor Detail
-
MoveTowardsRestrictionGoal
public MoveTowardsRestrictionGoal(CreatureEntity p_i2347_1_, double p_i2347_2_)
-
-