public class SleepTask
extends Task<LivingEntity>
- Mappings:
Namespace |
Name |
official |
auu |
intermediary |
net/minecraft/class_4123 |
named |
net/minecraft/entity/ai/brain/task/SleepTask |
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Fields
Modifier and Type |
Field |
Description |
private long |
startTime |
|
-
Constructor Summary
Constructors
Constructor |
Description |
SleepTask() |
|
-
Method Summary
-
Field Details
-
startTime
private long startTime
- Mappings:
Namespace |
Name |
Mixin selector |
official |
b |
Lauu;b:J |
intermediary |
field_18848 |
Lnet/minecraft/class_4123;field_18848:J |
named |
startTime |
Lnet/minecraft/entity/ai/brain/task/SleepTask;startTime:J |
-
Constructor Details
-
SleepTask
public SleepTask()
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in class Task<LivingEntity>
- Mappings:
Namespace |
Name |
Mixin selector |
official |
a |
Lass;a(Laav;Lari;)Z |
intermediary |
method_18919 |
Lnet/minecraft/class_4097;method_18919(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Z |
named |
shouldRun |
Lnet/minecraft/entity/ai/brain/task/Task;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z |
-
shouldKeepRunning
- Overrides:
shouldKeepRunning
in class Task<LivingEntity>
- Mappings:
Namespace |
Name |
Mixin selector |
official |
b |
Lass;b(Laav;Lari;J)Z |
intermediary |
method_18927 |
Lnet/minecraft/class_4097;method_18927(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)Z |
named |
shouldKeepRunning |
Lnet/minecraft/entity/ai/brain/task/Task;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)Z |
-
run
- Overrides:
run
in class Task<LivingEntity>
- Mappings:
Namespace |
Name |
Mixin selector |
official |
a |
Lass;a(Laav;Lari;J)V |
intermediary |
method_18920 |
Lnet/minecraft/class_4097;method_18920(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V |
named |
run |
Lnet/minecraft/entity/ai/brain/task/Task;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V |
-
isTimeLimitExceeded
protected boolean isTimeLimitExceeded(long time)
- Overrides:
isTimeLimitExceeded
in class Task<LivingEntity>
- Mappings:
Namespace |
Name |
Mixin selector |
official |
a |
Lass;a(J)Z |
intermediary |
method_18915 |
Lnet/minecraft/class_4097;method_18915(J)Z |
named |
isTimeLimitExceeded |
Lnet/minecraft/entity/ai/brain/task/Task;isTimeLimitExceeded(J)Z |
-
finishRunning
- Overrides:
finishRunning
in class Task<LivingEntity>
- Mappings:
Namespace |
Name |
Mixin selector |
official |
c |
Lass;c(Laav;Lari;J)V |
intermediary |
method_18926 |
Lnet/minecraft/class_4097;method_18926(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V |
named |
finishRunning |
Lnet/minecraft/entity/ai/brain/task/Task;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V |