Class TemptationCooldownTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.TemptationCooldownTask
- Mappings:
Namespace Name official bdt
intermediary net/minecraft/class_5753
named net/minecraft/entity/ai/brain/task/TemptationCooldownTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.brain.task.Task
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
finishRunning
(ServerWorld world, LivingEntity entity, long time) protected boolean
isTimeLimitExceeded
(long time) protected void
keepRunning
(ServerWorld world, LivingEntity entity, long time) protected boolean
shouldKeepRunning
(ServerWorld world, LivingEntity entity, long time)
-
Field Details
-
moduleType
- Mappings:
Namespace Name Mixin selector official a
Lbdt;a:Lbku;
intermediary field_30113
Lnet/minecraft/class_5753;field_30113:Lnet/minecraft/class_4140;
named moduleType
Lnet/minecraft/entity/ai/brain/task/TemptationCooldownTask;moduleType:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
-
-
Constructor Details
-
TemptationCooldownTask
- Mappings:
Namespace Name Mixin selector official <init>
Lbdt;<init>(Lbku;)V
intermediary <init>
Lnet/minecraft/class_5753;<init>(Lnet/minecraft/class_4140;)V
named <init>
Lnet/minecraft/entity/ai/brain/task/TemptationCooldownTask;<init>(Lnet/minecraft/entity/ai/brain/MemoryModuleType;)V
-
-
Method Details
-
getTemptationCooldownTicks
- Mappings:
Namespace Name Mixin selector official a
Lbdt;a(Lbcc;)Ljava/util/Optional;
intermediary method_33194
Lnet/minecraft/class_5753;method_33194(Lnet/minecraft/class_1309;)Ljava/util/Optional;
named getTemptationCooldownTicks
Lnet/minecraft/entity/ai/brain/task/TemptationCooldownTask;getTemptationCooldownTicks(Lnet/minecraft/entity/LivingEntity;)Ljava/util/Optional;
-
isTimeLimitExceeded
protected boolean isTimeLimitExceeded(long time) - Overrides:
isTimeLimitExceeded
in classTask<LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbdo;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
-
shouldKeepRunning
- Overrides:
shouldKeepRunning
in classTask<LivingEntity>
- Mappings:
Namespace Name Mixin selector official b
Lbdo;b(Lagg;Lbcc;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
-
keepRunning
- Overrides:
keepRunning
in classTask<LivingEntity>
- Mappings:
Namespace Name Mixin selector official d
Lbdo;d(Lagg;Lbcc;J)V
intermediary method_18924
Lnet/minecraft/class_4097;method_18924(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
named keepRunning
Lnet/minecraft/entity/ai/brain/task/Task;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
-
finishRunning
- Overrides:
finishRunning
in classTask<LivingEntity>
- Mappings:
Namespace Name Mixin selector official c
Lbdo;c(Lagg;Lbcc;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
-