Class GoToIfNearbyTask

java.lang.Object
net.minecraft.entity.ai.brain.task.GoToIfNearbyTask

public class GoToIfNearbyTask extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/GoToIfNearbyTask
intermediary net/minecraft/class_4116
official bxy
  • Field Details

    • UPDATE_INTERVAL

      private static final int UPDATE_INTERVAL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named UPDATE_INTERVAL Lnet/minecraft/entity/ai/brain/task/GoToIfNearbyTask;UPDATE_INTERVAL:I
      intermediary field_30179 Lnet/minecraft/class_4116;field_30179:I
      official a Lbxy;a:I
    • HORIZONTAL_RANGE

      private static final int HORIZONTAL_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named HORIZONTAL_RANGE Lnet/minecraft/entity/ai/brain/task/GoToIfNearbyTask;HORIZONTAL_RANGE:I
      intermediary field_30180 Lnet/minecraft/class_4116;field_30180:I
      official b Lbxy;b:I
    • VERTICAL_RANGE

      private static final int VERTICAL_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named VERTICAL_RANGE Lnet/minecraft/entity/ai/brain/task/GoToIfNearbyTask;VERTICAL_RANGE:I
      intermediary field_30181 Lnet/minecraft/class_4116;field_30181:I
      official c Lbxy;c:I
  • Constructor Details

    • GoToIfNearbyTask

      public GoToIfNearbyTask()
  • Method Details

    • create

      public static SingleTickTask<PathAwareEntity> create(MemoryModuleType<GlobalPos> posModule, float walkSpeed, int maxDistance)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/ai/brain/task/GoToIfNearbyTask;create(Lnet/minecraft/entity/ai/brain/MemoryModuleType;FI)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
      intermediary method_47153 Lnet/minecraft/class_4116;method_47153(Lnet/minecraft/class_4140;FI)Lnet/minecraft/class_7894;
      official a Lbxy;a(Lccs;FI)Lbws;