public class OpenDoorsTask extends Task<LivingEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private PathNode |
field_26387 |
private int |
field_26388 |
requiredMemoryStates
Constructor and Description |
---|
OpenDoorsTask() |
Modifier and Type | Method and Description |
---|---|
static void |
method_30760(ServerWorld serverWorld,
LivingEntity livingEntity,
PathNode pathNode,
PathNode pathNode2) |
private static boolean |
method_30761(ServerWorld serverWorld,
LivingEntity livingEntity,
BlockPos blockPos) |
private static boolean |
method_30762(ServerWorld serverWorld,
LivingEntity livingEntity,
GlobalPos globalPos) |
private static boolean |
method_30766(ServerWorld serverWorld,
LivingEntity livingEntity,
BlockPos blockPos) |
private void |
method_30767(ServerWorld serverWorld,
LivingEntity livingEntity,
BlockPos blockPos) |
protected void |
run(ServerWorld world,
LivingEntity entity,
long time) |
protected boolean |
shouldRun(ServerWorld world,
LivingEntity entity) |
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
protected boolean shouldRun(ServerWorld world, LivingEntity entity)
shouldRun
in class Task<LivingEntity>
protected void run(ServerWorld world, LivingEntity entity, long time)
run
in class Task<LivingEntity>
public static void method_30760(ServerWorld serverWorld, LivingEntity livingEntity, @Nullable PathNode pathNode, @Nullable PathNode pathNode2)
private static boolean method_30761(ServerWorld serverWorld, LivingEntity livingEntity, BlockPos blockPos)
private static boolean method_30766(ServerWorld serverWorld, LivingEntity livingEntity, BlockPos blockPos)
private static boolean method_30762(ServerWorld serverWorld, LivingEntity livingEntity, GlobalPos globalPos)
private void method_30767(ServerWorld serverWorld, LivingEntity livingEntity, BlockPos blockPos)