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 aufintermediary 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 bLauf;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>Lauf;<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 aLauf;a(Labf;Lasj;)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 aLauf;a(Labf;Lasj;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
-