Class EmergeTask<E extends WardenEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<E>
net.minecraft.entity.ai.brain.task.EmergeTask<E>
- All Implemented Interfaces:
Task<E>
- Mappings:
Namespace Name official blk
intermediary net/minecraft/class_7250
named net/minecraft/entity/ai/brain/task/EmergeTask
-
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) Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, keepRunning, shouldRun, stop, tick, tryStarting
-
Constructor Details
-
EmergeTask
public EmergeTask(int duration) - Mappings:
Namespace Name Mixin selector official <init>
Lblk;<init>(I)V
intermediary <init>
Lnet/minecraft/class_7250;<init>(I)V
named <init>
Lnet/minecraft/entity/ai/brain/task/EmergeTask;<init>(I)V
-
-
Method Details
-
shouldKeepRunning
- Overrides:
shouldKeepRunning
in classMultiTickTask<E extends WardenEntity>
- Mappings:
Namespace Name Mixin selector official a
Lblk;a(Laif;Lbxs;J)Z
intermediary method_42155
Lnet/minecraft/class_7250;method_42155(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)Z
named shouldKeepRunning
Lnet/minecraft/entity/ai/brain/task/EmergeTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)Z
-
run
- Overrides:
run
in classMultiTickTask<E extends WardenEntity>
- Mappings:
Namespace Name Mixin selector official b
Lblk;b(Laif;Lbxs;J)V
intermediary method_42156
Lnet/minecraft/class_7250;method_42156(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
named run
Lnet/minecraft/entity/ai/brain/task/EmergeTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
-
finishRunning
- Overrides:
finishRunning
in classMultiTickTask<E extends WardenEntity>
- Mappings:
Namespace Name Mixin selector official c
Lblk;c(Laif;Lbxs;J)V
intermediary method_42157
Lnet/minecraft/class_7250;method_42157(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
named finishRunning
Lnet/minecraft/entity/ai/brain/task/EmergeTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
-