public class MoveThroughVillageGoal extends Goal
| Modifier and Type | Field and Description |
|---|---|
protected CreatureEntity |
entity |
| Constructor and Description |
|---|
MoveThroughVillageGoal(CreatureEntity p_i50324_1_,
double speedIn,
boolean nocturnal,
int maxDistanceIn,
java.util.function.BooleanSupplier booleanSupplierIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexFlags, isPreemptible, setMutexFlags, tick, toStringprotected final CreatureEntity entity
public MoveThroughVillageGoal(CreatureEntity p_i50324_1_, double speedIn, boolean nocturnal, int maxDistanceIn, java.util.function.BooleanSupplier booleanSupplierIn)
public boolean shouldExecute()
shouldExecute in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic void startExecuting()
startExecuting in class Goal