Class WanderIndoorsTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<PathAwareEntity>
net.minecraft.entity.ai.brain.task.WanderIndoorsTask
public class WanderIndoorsTask extends Task<PathAwareEntity>
- Mappings:
Namespace Name official atmintermediary net/minecraft/class_4289named 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 Modifier and Type Field Description private floatspeedFields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates -
Constructor Summary
Constructors Constructor Description WanderIndoorsTask(float speed) -
Method Summary
Modifier and Type Method Description protected voidrun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)protected booleanshouldRun(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 bLatm;b:Fintermediary field_19258Lnet/minecraft/class_4289;field_19258:Fnamed speedLnet/minecraft/entity/ai/brain/task/WanderIndoorsTask;speed:F
-
-
Constructor Details
-
WanderIndoorsTask
public WanderIndoorsTask(float speed)- Mappings:
Namespace Name Mixin selector official <init>Latm;<init>(F)Vintermediary <init>Lnet/minecraft/class_4289;<init>(F)Vnamed <init>Lnet/minecraft/entity/ai/brain/task/WanderIndoorsTask;<init>(F)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRunin classTask<PathAwareEntity>- Mappings:
Namespace Name Mixin selector official aLatm;a(Laav;Larq;)Zintermediary method_20421Lnet/minecraft/class_4289;method_20421(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;)Znamed shouldRunLnet/minecraft/entity/ai/brain/task/WanderIndoorsTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;)Z
-
run
- Overrides:
runin classTask<PathAwareEntity>- Mappings:
Namespace Name Mixin selector official aLatm;a(Laav;Larq;J)Vintermediary method_20422Lnet/minecraft/class_4289;method_20422(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;J)Vnamed runLnet/minecraft/entity/ai/brain/task/WanderIndoorsTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;J)V
-