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>
- Mappings:
Namespace Name official ato
intermediary net/minecraft/class_4107
named net/minecraft/entity/ai/brain/task/OpenDoorsTask
-
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 private static boolean
cannotReachDoor(ServerWorld world, LivingEntity entity, GlobalPos doorPos)
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_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
- Mappings:
Namespace Name Mixin selector official b
Lato;b:Ldcr;
intermediary field_26387
Lnet/minecraft/class_4107;field_26387:Lnet/minecraft/class_9;
named field_26387
Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;field_26387:Lnet/minecraft/entity/ai/pathing/PathNode;
-
field_26388
private int field_26388- Mappings:
Namespace Name Mixin selector official c
Lato;c:I
intermediary field_26388
Lnet/minecraft/class_4107;field_26388:I
named field_26388
Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;field_26388:I
-
-
Constructor Details
-
OpenDoorsTask
public OpenDoorsTask()
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classTask<LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lass;a(Laav;Lari;)Z
intermediary method_18919
Lnet/minecraft/class_4097;method_18919(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/Task;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z
-
run
- Overrides:
run
in classTask<LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lass;a(Laav;Lari;J)V
intermediary method_18920
Lnet/minecraft/class_4097;method_18920(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
named run
Lnet/minecraft/entity/ai/brain/task/Task;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
-
method_30760
public static void method_30760(ServerWorld serverWorld, LivingEntity livingEntity, @Nullable PathNode pathNode, @Nullable PathNode pathNode2)- Mappings:
Namespace Name Mixin selector official a
Lato;a(Laav;Lari;Ldcr;Ldcr;)V
intermediary method_30760
Lnet/minecraft/class_4107;method_30760(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_9;Lnet/minecraft/class_9;)V
named method_30760
Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;method_30760(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)V
-
method_30761
private static boolean method_30761(ServerWorld serverWorld, LivingEntity livingEntity, BlockPos blockPos)- Mappings:
Namespace Name Mixin selector official a
Lato;a(Laav;Lari;Lfx;)Z
intermediary method_30761
Lnet/minecraft/class_4107;method_30761(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_2338;)Z
named method_30761
Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;method_30761(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/BlockPos;)Z
-
method_30766
private static boolean method_30766(ServerWorld serverWorld, LivingEntity livingEntity, BlockPos blockPos)- Mappings:
Namespace Name Mixin selector official b
Lato;b(Laav;Lari;Lfx;)Z
intermediary method_30766
Lnet/minecraft/class_4107;method_30766(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_2338;)Z
named method_30766
Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;method_30766(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/BlockPos;)Z
-
cannotReachDoor
- Mappings:
Namespace Name Mixin selector official a
Lato;a(Laav;Lari;Lgf;)Z
intermediary method_30762
Lnet/minecraft/class_4107;method_30762(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_4208;)Z
named cannotReachDoor
Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;cannotReachDoor(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/dynamic/GlobalPos;)Z
-
method_30767
- Mappings:
Namespace Name Mixin selector official c
Lato;c(Laav;Lari;Lfx;)V
intermediary method_30767
Lnet/minecraft/class_4107;method_30767(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_2338;)V
named method_30767
Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;method_30767(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/BlockPos;)V
-