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 bel
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 Lbel;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> Lbel;<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 Lbel;a(Lagg;Lbcl;)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 Lbel;a(Lagg;Lbcl;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