Class SingleTickTask<E extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.SingleTickTask<E>
- All Implemented Interfaces:
Task<E>
,TaskRunnable<E>
public abstract class SingleTickTask<E extends LivingEntity>
extends Object
implements Task<E>, TaskRunnable<E>
- Mappings:
Namespace Name official bpn
intermediary net/minecraft/class_7894
named net/minecraft/entity/ai/brain/task/SingleTickTask
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
final MultiTickTask.Status
final void
stop
(ServerWorld world, E entity, long time) final void
tick
(ServerWorld world, E entity, long time) final boolean
tryStarting
(ServerWorld world, E entity, long time) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.entity.ai.brain.task.TaskRunnable
trigger
-
Field Details
-
status
- Mappings:
Namespace Name Mixin selector official a
Lbpn;a:Lboc$a;
intermediary field_40994
Lnet/minecraft/class_7894;field_40994:Lnet/minecraft/class_4097$class_4098;
named status
Lnet/minecraft/entity/ai/brain/task/SingleTickTask;status:Lnet/minecraft/entity/ai/brain/task/MultiTickTask$Status;
-
-
Constructor Details
-
SingleTickTask
public SingleTickTask()
-
-
Method Details
-
getStatus
- Specified by:
getStatus
in interfaceTask<E extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbod;a()Lboc$a;
intermediary method_18921
Lnet/minecraft/class_7893;method_18921()Lnet/minecraft/class_4097$class_4098;
named getStatus
Lnet/minecraft/entity/ai/brain/task/Task;getStatus()Lnet/minecraft/entity/ai/brain/task/MultiTickTask$Status;
-
tryStarting
- Specified by:
tryStarting
in interfaceTask<E extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official e
Lbod;e(Land;Lbml;J)Z
intermediary method_18922
Lnet/minecraft/class_7893;method_18922(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)Z
named tryStarting
Lnet/minecraft/entity/ai/brain/task/Task;tryStarting(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)Z
-
tick
- Specified by:
tick
in interfaceTask<E extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official f
Lbod;f(Land;Lbml;J)V
intermediary method_18923
Lnet/minecraft/class_7893;method_18923(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
named tick
Lnet/minecraft/entity/ai/brain/task/Task;tick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
-
stop
- Specified by:
stop
in interfaceTask<E extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official g
Lbod;g(Land;Lbml;J)V
intermediary method_18925
Lnet/minecraft/class_7893;method_18925(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
named stop
Lnet/minecraft/entity/ai/brain/task/Task;stop(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
-
getName
- Specified by:
getName
in interfaceTask<E extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official b
Lbod;b()Ljava/lang/String;
intermediary method_46910
Lnet/minecraft/class_7893;method_46910()Ljava/lang/String;
named getName
Lnet/minecraft/entity/ai/brain/task/Task;getName()Ljava/lang/String;
-