public class FleeTask extends Task<CreatureEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private MemoryModuleType<? extends Entity> |
field_220541_a |
private float |
field_220542_b |
Constructor and Description |
---|
FleeTask(MemoryModuleType<? extends Entity> p_i50346_1_,
float p_i50346_2_) |
Modifier and Type | Method and Description |
---|---|
static void |
func_220540_a(CreatureEntity p_220540_0_,
Entity p_220540_1_,
float speedIn) |
protected boolean |
shouldExecute(ServerWorld worldIn,
CreatureEntity owner) |
protected void |
startExecuting(ServerWorld worldIn,
CreatureEntity entityIn,
long gameTimeIn) |
getStatus, isTimedOut, resetTask, shouldContinueExecuting, start, stop, tick, toString, updateTask
private final MemoryModuleType<? extends Entity> field_220541_a
private final float field_220542_b
public FleeTask(MemoryModuleType<? extends Entity> p_i50346_1_, float p_i50346_2_)
protected boolean shouldExecute(ServerWorld worldIn, CreatureEntity owner)
shouldExecute
in class Task<CreatureEntity>
protected void startExecuting(ServerWorld worldIn, CreatureEntity entityIn, long gameTimeIn)
startExecuting
in class Task<CreatureEntity>
public static void func_220540_a(CreatureEntity p_220540_0_, Entity p_220540_1_, float speedIn)