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 azn
intermediary net/minecraft/class_4289
named net/minecraft/entity/ai/brain/task/WanderIndoorsTask
  • Field Details

    • speed

      private final float speed
      Mappings:
      Namespace Name Mixin selector
      official a Lazn;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> Lazn;<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

      protected boolean shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
      Overrides:
      shouldRun in class Task<PathAwareEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lazn;a(Ladi;Laxq;)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

      protected void run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
      Overrides:
      run in class Task<PathAwareEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lazn;a(Ladi;Laxq;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