Package net.minecraft.entity.passive
Class SnifferBrain.DiggingTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<SnifferEntity>
net.minecraft.entity.passive.SnifferBrain.DiggingTask
- All Implemented Interfaces:
Task<SnifferEntity>
- Enclosing class:
SnifferBrain
- Mappings:
Namespace Name named net/minecraft/entity/passive/SnifferBrain$DiggingTaskintermediary net/minecraft/class_8155$class_8156official chw$a
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinishRunning(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2) protected voidrun(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2) protected booleanshouldKeepRunning(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2) protected booleanshouldRun(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
-
DiggingTask
DiggingTask(int minRunTime, int maxRunTime) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/passive/SnifferBrain$DiggingTask;<init>(II)Vintermediary <init>Lnet/minecraft/class_8155$class_8156;<init>(II)Vofficial <init>Lchw$a;<init>(II)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRunin classMultiTickTask<SnifferEntity>- Mappings:
Namespace Name Mixin selector named shouldRunLnet/minecraft/entity/passive/SnifferBrain$DiggingTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;)Zintermediary method_49158Lnet/minecraft/class_8155$class_8156;method_49158(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;)Zofficial aLchw$a;a(Laqu;Lchv;)Z
-
shouldKeepRunning
protected boolean shouldKeepRunning(ServerWorld serverWorld, SnifferEntity snifferEntity, long long2) - Overrides:
shouldKeepRunningin classMultiTickTask<SnifferEntity>- Mappings:
Namespace Name Mixin selector named shouldKeepRunningLnet/minecraft/entity/passive/SnifferBrain$DiggingTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)Zintermediary method_49159Lnet/minecraft/class_8155$class_8156;method_49159(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)Zofficial aLchw$a;a(Laqu;Lchv;J)Z
-
run
- Overrides:
runin classMultiTickTask<SnifferEntity>- Mappings:
Namespace Name Mixin selector named runLnet/minecraft/entity/passive/SnifferBrain$DiggingTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)Vintermediary method_49160Lnet/minecraft/class_8155$class_8156;method_49160(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)Vofficial bLchw$a;b(Laqu;Lchv;J)V
-
finishRunning
- Overrides:
finishRunningin classMultiTickTask<SnifferEntity>- Mappings:
Namespace Name Mixin selector named finishRunningLnet/minecraft/entity/passive/SnifferBrain$DiggingTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)Vintermediary method_49161Lnet/minecraft/class_8155$class_8156;method_49161(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)Vofficial cLchw$a;c(Laqu;Lchv;J)V
-