public class MoveTowardsVillageGoal extends RandomWalkingGoal
creature, executionChance, mustUpdate, speed, x, y, z
Constructor and Description |
---|
MoveTowardsVillageGoal(CreatureEntity p_i50325_1_,
double p_i50325_2_) |
Modifier and Type | Method and Description |
---|---|
protected Vec3d |
getPosition() |
boolean |
shouldExecute() |
makeUpdate, resetTask, setExecutionChance, shouldContinueExecuting, startExecuting
getMutexFlags, isPreemptible, setMutexFlags, tick, toString
public MoveTowardsVillageGoal(CreatureEntity p_i50325_1_, double p_i50325_2_)
public boolean shouldExecute()
shouldExecute
in class RandomWalkingGoal
@Nullable protected Vec3d getPosition()
getPosition
in class RandomWalkingGoal