Class WaitTask
java.lang.Object
net.minecraft.entity.ai.brain.task.WaitTask
- All Implemented Interfaces:
Task<LivingEntity>
- Mappings:
Namespace Name official bhz
intermediary net/minecraft/class_4101
named net/minecraft/entity/ai/brain/task/WaitTask
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private MultiTickTask.Status
private long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
final void
stop
(ServerWorld world, LivingEntity entity, long time) final void
tick
(ServerWorld world, LivingEntity entity, long time) final boolean
tryStarting
(ServerWorld world, LivingEntity entity, long time)
-
Field Details
-
minRunTime
private final int minRunTime- Mappings:
Namespace Name Mixin selector official a
Lbhz;a:I
intermediary field_40988
Lnet/minecraft/class_4101;field_40988:I
named minRunTime
Lnet/minecraft/entity/ai/brain/task/WaitTask;minRunTime:I
-
maxRunTime
private final int maxRunTime- Mappings:
Namespace Name Mixin selector official b
Lbhz;b:I
intermediary field_40989
Lnet/minecraft/class_4101;field_40989:I
named maxRunTime
Lnet/minecraft/entity/ai/brain/task/WaitTask;maxRunTime:I
-
status
- Mappings:
Namespace Name Mixin selector official c
Lbhz;c:Lbhp$a;
intermediary field_40990
Lnet/minecraft/class_4101;field_40990:Lnet/minecraft/class_4097$class_4098;
named status
Lnet/minecraft/entity/ai/brain/task/WaitTask;status:Lnet/minecraft/entity/ai/brain/task/MultiTickTask$Status;
-
waitUntil
private long waitUntil- Mappings:
Namespace Name Mixin selector official d
Lbhz;d:J
intermediary field_40991
Lnet/minecraft/class_4101;field_40991:J
named waitUntil
Lnet/minecraft/entity/ai/brain/task/WaitTask;waitUntil:J
-
-
Constructor Details
-
WaitTask
public WaitTask(int minRunTime, int maxRunTime) - Mappings:
Namespace Name Mixin selector official <init>
Lbhz;<init>(II)V
intermediary <init>
Lnet/minecraft/class_4101;<init>(II)V
named <init>
Lnet/minecraft/entity/ai/brain/task/WaitTask;<init>(II)V
-
-
Method Details
-
getStatus
- Specified by:
getStatus
in interfaceTask<LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbhq;a()Lbhp$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<LivingEntity>
- Mappings:
Namespace Name Mixin selector official e
Lbhq;e(Laif;Lbfx;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<LivingEntity>
- Mappings:
Namespace Name Mixin selector official f
Lbhq;f(Laif;Lbfx;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<LivingEntity>
- Mappings:
Namespace Name Mixin selector official g
Lbhq;g(Laif;Lbfx;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<LivingEntity>
- Mappings:
Namespace Name Mixin selector official b
Lbhq;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;
-