Package net.minecraft.entity.passive
Class SnifferBrain.FinishDiggingTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<SnifferEntity>
net.minecraft.entity.passive.SnifferBrain.FinishDiggingTask
- All Implemented Interfaces:
Task<SnifferEntity>
- Enclosing class:
SnifferBrain
- Mappings:
Namespace Name named net/minecraft/entity/passive/SnifferBrain$FinishDiggingTask
intermediary net/minecraft/class_8155$class_8158
official cko$c
-
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
-
FinishDiggingTask
FinishDiggingTask(int runTime) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/SnifferBrain$FinishDiggingTask;<init>(I)V
intermediary <init>
Lnet/minecraft/class_8155$class_8158;<init>(I)V
official <init>
Lcko$c;<init>(I)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classMultiTickTask<SnifferEntity>
- Mappings:
Namespace Name Mixin selector named shouldRun
Lnet/minecraft/entity/passive/SnifferBrain$FinishDiggingTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;)Z
intermediary method_49165
Lnet/minecraft/class_8155$class_8158;method_49165(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;)Z
official a
Lcko$c;a(Lash;Lckn;)Z
-
shouldKeepRunning
protected boolean shouldKeepRunning(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2) - Overrides:
shouldKeepRunning
in classMultiTickTask<SnifferEntity>
- Mappings:
Namespace Name Mixin selector named shouldKeepRunning
Lnet/minecraft/entity/passive/SnifferBrain$FinishDiggingTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)Z
intermediary method_49166
Lnet/minecraft/class_8155$class_8158;method_49166(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)Z
official a
Lcko$c;a(Lash;Lckn;J)Z
-
run
- Overrides:
run
in classMultiTickTask<SnifferEntity>
- Mappings:
Namespace Name Mixin selector named run
Lnet/minecraft/entity/passive/SnifferBrain$FinishDiggingTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V
intermediary method_49167
Lnet/minecraft/class_8155$class_8158;method_49167(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
official b
Lcko$c;b(Lash;Lckn;J)V
-
finishRunning
- Overrides:
finishRunning
in classMultiTickTask<SnifferEntity>
- Mappings:
Namespace Name Mixin selector named finishRunning
Lnet/minecraft/entity/passive/SnifferBrain$FinishDiggingTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V
intermediary method_49168
Lnet/minecraft/class_8155$class_8158;method_49168(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
official c
Lcko$c;c(Lash;Lckn;J)V
-