public class MoveThroughVillageGoal extends Goal
| Modifier and Type | Field and Description |
|---|---|
protected CreatureEntity |
entity |
| Constructor and Description |
|---|
MoveThroughVillageGoal(CreatureEntity p_i50324_1_,
double p_i50324_2_,
boolean p_i50324_4_,
int p_i50324_5_,
java.util.function.BooleanSupplier p_i50324_6_) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexFlags, isPreemptible, setMutexFlags, tickprotected final CreatureEntity entity
public MoveThroughVillageGoal(CreatureEntity p_i50324_1_, double p_i50324_2_, boolean p_i50324_4_, int p_i50324_5_, java.util.function.BooleanSupplier p_i50324_6_)
public boolean shouldExecute()
shouldExecute in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic void startExecuting()
startExecuting in class Goal