Class FindWalkTargetTask

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<PathAwareEntity>
net.minecraft.entity.ai.brain.task.FindWalkTargetTask
Direct Known Subclasses:
RunAroundAfterRaidTask

public class FindWalkTargetTask
extends Task<PathAwareEntity>
Mappings:
Namespace Name
official avl
intermediary net/minecraft/class_4117
named net/minecraft/entity/ai/brain/task/FindWalkTargetTask
  • Field Details

    • walkSpeed

      private final float walkSpeed
      Mappings:
      Namespace Name Mixin selector
      official b Lavl;b:F
      intermediary field_18375 Lnet/minecraft/class_4117;field_18375:F
      named walkSpeed Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;walkSpeed:F
    • maxHorizontalDistance

      private final int maxHorizontalDistance
      Mappings:
      Namespace Name Mixin selector
      official c Lavl;c:I
      intermediary field_19352 Lnet/minecraft/class_4117;field_19352:I
      named maxHorizontalDistance Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;maxHorizontalDistance:I
    • maxVerticalDistance

      private final int maxVerticalDistance
      Mappings:
      Namespace Name Mixin selector
      official d Lavl;d:I
      intermediary field_19353 Lnet/minecraft/class_4117;field_19353:I
      named maxVerticalDistance Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;maxVerticalDistance:I
  • Constructor Details

    • FindWalkTargetTask

      public FindWalkTargetTask​(float walkSpeed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lavl;<init>(F)V
      intermediary <init> Lnet/minecraft/class_4117;<init>(F)V
      named <init> Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;<init>(F)V
    • FindWalkTargetTask

      public FindWalkTargetTask​(float walkSpeed, int maxHorizontalDistance, int maxVerticalDistance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lavl;<init>(FII)V
      intermediary <init> Lnet/minecraft/class_4117;<init>(FII)V
      named <init> Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;<init>(FII)V
  • Method Details

    • run

      protected void run​(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
      Overrides:
      run in class Task<PathAwareEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lavl;a(Laav;Larq;J)V
      intermediary method_18996 Lnet/minecraft/class_4117;method_18996(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;J)V
      named run Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;J)V
    • updateWalkTarget

      private void updateWalkTarget​(PathAwareEntity entity, ChunkSectionPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lavl;a(Larq;Lgq;)V
      intermediary method_20430 Lnet/minecraft/class_4117;method_20430(Lnet/minecraft/class_1314;Lnet/minecraft/class_4076;)V
      named updateWalkTarget Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;updateWalkTarget(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/util/math/ChunkSectionPos;)V
    • updateWalkTarget

      private void updateWalkTarget​(PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lavl;a(Larq;)V
      intermediary method_20429 Lnet/minecraft/class_4117;method_20429(Lnet/minecraft/class_1314;)V
      named updateWalkTarget Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;updateWalkTarget(Lnet/minecraft/entity/mob/PathAwareEntity;)V