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 official bty$b
intermediary net/minecraft/class_8155$class_8157
named net/minecraft/entity/passive/SnifferBrain$FeelHappyTask
-
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 official <init>
Lbty$b;<init>(II)V
intermediary <init>
Lnet/minecraft/class_8155$class_8157;<init>(II)V
named <init>
Lnet/minecraft/entity/passive/SnifferBrain$FeelHappyTask;<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 official a
Lbty$b;a(Laif;Lbtx;J)Z
intermediary method_49162
Lnet/minecraft/class_8155$class_8157;method_49162(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)Z
named shouldKeepRunning
Lnet/minecraft/entity/passive/SnifferBrain$FeelHappyTask;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
Lbty$b;b(Laif;Lbtx;J)V
intermediary method_49163
Lnet/minecraft/class_8155$class_8157;method_49163(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
named run
Lnet/minecraft/entity/passive/SnifferBrain$FeelHappyTask;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
Lbty$b;c(Laif;Lbtx;J)V
intermediary method_49164
Lnet/minecraft/class_8155$class_8157;method_49164(Lnet/minecraft/class_3218;Lnet/minecraft/class_8153;J)V
named finishRunning
Lnet/minecraft/entity/passive/SnifferBrain$FeelHappyTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/SnifferEntity;J)V
-