Class DigTask<E extends WardenEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<E>
net.minecraft.entity.ai.brain.task.DigTask<E>
- All Implemented Interfaces:
Task<E>
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/DigTask
intermediary net/minecraft/class_7249
official bza
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
MultiTickTask.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
finishRunning
(ServerWorld serverWorld, E e, long long2) protected void
run
(ServerWorld serverWorld, E e, long long2) protected boolean
shouldKeepRunning
(ServerWorld serverWorld, E e, long long2) protected boolean
shouldRun
(ServerWorld serverWorld, E e) Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, keepRunning, stop, tick, tryStarting
-
Constructor Details
-
DigTask
public DigTask(int duration) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/brain/task/DigTask;<init>(I)V
intermediary <init>
Lnet/minecraft/class_7249;<init>(I)V
official <init>
Lbza;<init>(I)V
-
-
Method Details
-
shouldKeepRunning
- Overrides:
shouldKeepRunning
in classMultiTickTask<E extends WardenEntity>
- Mappings:
Namespace Name Mixin selector named shouldKeepRunning
Lnet/minecraft/entity/ai/brain/task/DigTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)Z
intermediary method_42152
Lnet/minecraft/class_7249;method_42152(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)Z
official a
Lbza;a(Laqu;Lcmb;J)Z
-
shouldRun
- Overrides:
shouldRun
in classMultiTickTask<E extends WardenEntity>
- Mappings:
Namespace Name Mixin selector named shouldRun
Lnet/minecraft/entity/ai/brain/task/DigTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;)Z
intermediary method_42151
Lnet/minecraft/class_7249;method_42151(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;)Z
official a
Lbza;a(Laqu;Lcmb;)Z
-
run
- Overrides:
run
in classMultiTickTask<E extends WardenEntity>
- Mappings:
Namespace Name Mixin selector named run
Lnet/minecraft/entity/ai/brain/task/DigTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
intermediary method_42153
Lnet/minecraft/class_7249;method_42153(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
official b
Lbza;b(Laqu;Lcmb;J)V
-
finishRunning
- Overrides:
finishRunning
in classMultiTickTask<E extends WardenEntity>
- Mappings:
Namespace Name Mixin selector named finishRunning
Lnet/minecraft/entity/ai/brain/task/DigTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
intermediary method_42154
Lnet/minecraft/class_7249;method_42154(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
official c
Lbza;c(Laqu;Lcmb;J)V
-