Class WanderIndoorsTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<PathAwareEntity>
net.minecraft.entity.ai.brain.task.WanderIndoorsTask
- Mappings:
Namespace Name official bdointermediary 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
FieldsFields inherited from class net.minecraft.entity.ai.brain.task.Task
DEFAULT_RUN_TIME, requiredMemoryStates -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 aLbdo;a: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>Lbdo;<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 aLbdo;a(Lafo;Lbbo;)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 aLbdo;a(Lafo;Lbbo;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
-