public class FindWalkTargetTask extends Task<CreatureEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private int |
maxXZ |
private int |
maxY |
private float |
speed |
Constructor and Description |
---|
FindWalkTargetTask(float speedIn) |
FindWalkTargetTask(float speedIn,
int maxDistanceXZ,
int maxDistanceY) |
Modifier and Type | Method and Description |
---|---|
private void |
func_220593_a(CreatureEntity p_220593_1_) |
private void |
func_220594_a(CreatureEntity p_220594_1_,
SectionPos p_220594_2_) |
protected void |
startExecuting(ServerWorld worldIn,
CreatureEntity entityIn,
long gameTimeIn) |
getStatus, isTimedOut, resetTask, shouldContinueExecuting, shouldExecute, start, stop, tick, toString, updateTask
private final float speed
private final int maxXZ
private final int maxY
public FindWalkTargetTask(float speedIn)
public FindWalkTargetTask(float speedIn, int maxDistanceXZ, int maxDistanceY)
protected void startExecuting(ServerWorld worldIn, CreatureEntity entityIn, long gameTimeIn)
startExecuting
in class Task<CreatureEntity>
private void func_220594_a(CreatureEntity p_220594_1_, SectionPos p_220594_2_)
private void func_220593_a(CreatureEntity p_220593_1_)