Package net.minecraft.entity.passive
Class SnifferBrain.SniffingTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<SnifferEntity>
net.minecraft.entity.passive.SnifferBrain.SniffingTask
- All Implemented Interfaces:
Task<SnifferEntity>
- Enclosing class:
SnifferBrain
- Mappings:
Namespace Name official bxe$f
intermediary net/minecraft/class_8155$class_8161
named net/minecraft/entity/passive/SnifferBrain$SniffingTask
-
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, SnifferEntity snifferEntity, long long2) protected void
run
(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2) protected boolean
shouldKeepRunning
(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2) protected boolean
shouldRun
(ServerWorld serverWorld, SnifferEntity snifferEntity) Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, keepRunning, stop, tick, tryStarting
-
Constructor Details
-
SniffingTask
SniffingTask(int minRunTime, int maxRunTime) - Mappings:
Namespace Name Mixin selector official <init>
Lbxe$f;<init>(II)V
intermediary <init>
Lnet/minecraft/class_8155$class_8161;<init>(II)V
named <init>
Lnet/minecraft/entity/passive/SnifferBrain$SniffingTask;<init>(II)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classMultiTickTask<SnifferEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbxe$f;a(Lakq;Lbxd;)Z
intermediary method_49176
Lnet/minecraft/class_8155$class_8161;method_49176(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;)Z
named shouldRun
Lnet/minecraft/entity/passive/SnifferBrain$SniffingTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;)Z
-
shouldKeepRunning
protected boolean shouldKeepRunning(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2) - Overrides:
shouldKeepRunning
in classMultiTickTask<SnifferEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbxe$f;a(Lakq;Lbxd;J)Z
intermediary method_49177
Lnet/minecraft/class_8155$class_8161;method_49177(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)Z
named shouldKeepRunning
Lnet/minecraft/entity/passive/SnifferBrain$SniffingTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)Z
-
run
- Overrides:
run
in classMultiTickTask<SnifferEntity>
- Mappings:
Namespace Name Mixin selector official b
Lbxe$f;b(Lakq;Lbxd;J)V
intermediary method_49179
Lnet/minecraft/class_8155$class_8161;method_49179(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
named run
Lnet/minecraft/entity/passive/SnifferBrain$SniffingTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V
-
finishRunning
- Overrides:
finishRunning
in classMultiTickTask<SnifferEntity>
- Mappings:
Namespace Name Mixin selector official c
Lbxe$f;c(Lakq;Lbxd;J)V
intermediary method_49180
Lnet/minecraft/class_8155$class_8161;method_49180(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
named finishRunning
Lnet/minecraft/entity/passive/SnifferBrain$SniffingTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V
-