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, startExecutinggetMutexFlags, isPreemptible, setMutexFlags, tick, toStringpublic MoveTowardsVillageGoal(CreatureEntity p_i50325_1_, double p_i50325_2_)
public boolean shouldExecute()
shouldExecute in class RandomWalkingGoal@Nullable protected Vec3d getPosition()
getPosition in class RandomWalkingGoal