Task.Status
Modifier and Type | Field and Description |
---|---|
private Path |
field_220488_a |
private BlockPos |
field_220489_b |
private float |
field_220490_c |
private int |
field_220491_d |
Constructor and Description |
---|
WalkToTargetTask(int p_i50356_1_) |
Modifier and Type | Method and Description |
---|---|
private boolean |
func_220487_a(MobEntity p_220487_1_,
WalkTarget p_220487_2_,
long p_220487_3_) |
private boolean |
hasReachedTarget(MobEntity p_220486_1_,
WalkTarget p_220486_2_) |
protected void |
resetTask(ServerWorld worldIn,
MobEntity entityIn,
long gameTimeIn) |
protected boolean |
shouldContinueExecuting(ServerWorld worldIn,
MobEntity entityIn,
long gameTimeIn) |
protected boolean |
shouldExecute(ServerWorld worldIn,
MobEntity owner) |
protected void |
startExecuting(ServerWorld worldIn,
MobEntity entityIn,
long gameTimeIn) |
protected void |
updateTask(ServerWorld worldIn,
MobEntity owner,
long gameTime) |
@Nullable private Path field_220488_a
@Nullable private BlockPos field_220489_b
private float field_220490_c
private int field_220491_d
protected boolean shouldExecute(ServerWorld worldIn, MobEntity owner)
shouldExecute
in class Task<MobEntity>
protected boolean shouldContinueExecuting(ServerWorld worldIn, MobEntity entityIn, long gameTimeIn)
shouldContinueExecuting
in class Task<MobEntity>
protected void resetTask(ServerWorld worldIn, MobEntity entityIn, long gameTimeIn)
protected void startExecuting(ServerWorld worldIn, MobEntity entityIn, long gameTimeIn)
startExecuting
in class Task<MobEntity>
protected void updateTask(ServerWorld worldIn, MobEntity owner, long gameTime)
updateTask
in class Task<MobEntity>
private boolean func_220487_a(MobEntity p_220487_1_, WalkTarget p_220487_2_, long p_220487_3_)
private boolean hasReachedTarget(MobEntity p_220486_1_, WalkTarget p_220486_2_)