Class OpenDoorsTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.OpenDoorsTask
public class OpenDoorsTask extends Task<LivingEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Fields Modifier and Type Field Description private PathNode
field_26387
private int
field_26388
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
Constructor Summary
Constructors Constructor Description OpenDoorsTask()
-
Method Summary
Modifier and Type Method 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)
Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
Field Details
-
field_26387
-
field_26388
private int field_26388
-
-
Constructor Details
-
OpenDoorsTask
public OpenDoorsTask()
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classTask<LivingEntity>
-
run
- Overrides:
run
in classTask<LivingEntity>
-
method_30760
public static void method_30760(ServerWorld serverWorld, LivingEntity livingEntity, @Nullable PathNode pathNode, @Nullable PathNode pathNode2) -
method_30761
private static boolean method_30761(ServerWorld serverWorld, LivingEntity livingEntity, BlockPos blockPos) -
method_30766
private static boolean method_30766(ServerWorld serverWorld, LivingEntity livingEntity, BlockPos blockPos) -
method_30762
private static boolean method_30762(ServerWorld serverWorld, LivingEntity livingEntity, GlobalPos globalPos) -
method_30767
-