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, tick
protected 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 Goal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class Goal
public void startExecuting()
startExecuting
in class Goal