Class WanderIndoorsTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<PathAwareEntity>
net.minecraft.entity.ai.brain.task.WanderIndoorsTask
- Mappings:
Namespace Name official awa
intermediary net/minecraft/class_4289
named net/minecraft/entity/ai/brain/task/WanderIndoorsTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected boolean
shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
Field Details
-
speed
private final float speed- Mappings:
Namespace Name Mixin selector official a
Lawa;a:F
intermediary field_19258
Lnet/minecraft/class_4289;field_19258:F
named speed
Lnet/minecraft/entity/ai/brain/task/WanderIndoorsTask;speed:F
-
-
Constructor Details
-
WanderIndoorsTask
public WanderIndoorsTask(float speed)- Mappings:
Namespace Name Mixin selector official <init>
Lawa;<init>(F)V
intermediary <init>
Lnet/minecraft/class_4289;<init>(F)V
named <init>
Lnet/minecraft/entity/ai/brain/task/WanderIndoorsTask;<init>(F)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classTask<PathAwareEntity>
- Mappings:
Namespace Name Mixin selector official a
Lawa;a(Labr;Lauc;)Z
intermediary method_20421
Lnet/minecraft/class_4289;method_20421(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/WanderIndoorsTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;)Z
-
run
- Overrides:
run
in classTask<PathAwareEntity>
- Mappings:
Namespace Name Mixin selector official a
Lawa;a(Labr;Lauc;J)V
intermediary method_20422
Lnet/minecraft/class_4289;method_20422(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;J)V
named run
Lnet/minecraft/entity/ai/brain/task/WanderIndoorsTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;J)V
-