Package net.minecraft.entity.passive
Class SnifferBrain.FeelHappyTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<SnifferEntity>
net.minecraft.entity.passive.SnifferBrain.FeelHappyTask
- All Implemented Interfaces:
Task<SnifferEntity>
- Enclosing class:
SnifferBrain
- Mappings:
Namespace Name named net/minecraft/entity/passive/SnifferBrain$FeelHappyTask
intermediary net/minecraft/class_8155$class_8157
official chy$b
-
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) Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, keepRunning, shouldRun, stop, tick, tryStarting
-
Constructor Details
-
FeelHappyTask
FeelHappyTask(int minRunTime, int maxRunTime) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/SnifferBrain$FeelHappyTask;<init>(II)V
intermediary <init>
Lnet/minecraft/class_8155$class_8157;<init>(II)V
official <init>
Lchy$b;<init>(II)V
-
-
Method Details
-
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$FeelHappyTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)Z
intermediary method_49162
Lnet/minecraft/class_8155$class_8157;method_49162(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)Z
official a
Lchy$b;a(Larf;Lchx;J)Z
-
run
- Overrides:
run
in classMultiTickTask<SnifferEntity>
- Mappings:
Namespace Name Mixin selector named run
Lnet/minecraft/entity/passive/SnifferBrain$FeelHappyTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V
intermediary method_49163
Lnet/minecraft/class_8155$class_8157;method_49163(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
official b
Lchy$b;b(Larf;Lchx;J)V
-
finishRunning
- Overrides:
finishRunning
in classMultiTickTask<SnifferEntity>
- Mappings:
Namespace Name Mixin selector named finishRunning
Lnet/minecraft/entity/passive/SnifferBrain$FeelHappyTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V
intermediary method_49164
Lnet/minecraft/class_8155$class_8157;method_49164(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
official c
Lchy$b;c(Larf;Lchx;J)V
-