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 CreatureEntity
mob
private double
speedModifier
private double
wantedX
private double
wantedY
private double
wantedZ
-
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 boolean
canContinueToUse()
boolean
canUse()
void
start()
-
-
-
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_)
-
-