Class SniffTask<E extends WardenEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<E>
net.minecraft.entity.ai.brain.task.SniffTask<E>
- All Implemented Interfaces:
Task<E>
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/SniffTask
intermediary net/minecraft/class_7251
official bze
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
MultiTickTask.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final double
private static final double
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
-
Field Details
-
HORIZONTAL_RADIUS
private static final double HORIZONTAL_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector named HORIZONTAL_RADIUS
Lnet/minecraft/entity/ai/brain/task/SniffTask;HORIZONTAL_RADIUS:D
intermediary field_38708
Lnet/minecraft/class_7251;field_38708:D
official c
Lbze;c:D
-
VERTICAL_RADIUS
private static final double VERTICAL_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector named VERTICAL_RADIUS
Lnet/minecraft/entity/ai/brain/task/SniffTask;VERTICAL_RADIUS:D
intermediary field_38848
Lnet/minecraft/class_7251;field_38848:D
official d
Lbze;d:D
-
-
Constructor Details
-
SniffTask
public SniffTask(int runTime) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/brain/task/SniffTask;<init>(I)V
intermediary <init>
Lnet/minecraft/class_7251;<init>(I)V
official <init>
Lbze;<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/SniffTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)Z
intermediary method_42158
Lnet/minecraft/class_7251;method_42158(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)Z
official a
Lbze;a(Laqt;Lclz;J)Z
-
run
- Overrides:
run
in classMultiTickTask<E extends WardenEntity>
- Mappings:
Namespace Name Mixin selector named run
Lnet/minecraft/entity/ai/brain/task/SniffTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
intermediary method_42160
Lnet/minecraft/class_7251;method_42160(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
official b
Lbze;b(Laqt;Lclz;J)V
-
finishRunning
- Overrides:
finishRunning
in classMultiTickTask<E extends WardenEntity>
- Mappings:
Namespace Name Mixin selector named finishRunning
Lnet/minecraft/entity/ai/brain/task/SniffTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
intermediary method_42161
Lnet/minecraft/class_7251;method_42161(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
official c
Lbze;c(Laqt;Lclz;J)V
-