Class GoToIfNearbyTask

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

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

    • UPDATE_INTERVAL

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

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

      private static final int VERTICAL_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbik;c:I
      intermediary field_30181 Lnet/minecraft/class_4116;field_30181:I
      named VERTICAL_RANGE Lnet/minecraft/entity/ai/brain/task/GoToIfNearbyTask;VERTICAL_RANGE: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
      official a Lbik;a(Lbne;FI)Lbhe;
      intermediary method_47153 Lnet/minecraft/class_4116;method_47153(Lnet/minecraft/class_4140;FI)Lnet/minecraft/class_7894;
      named create Lnet/minecraft/entity/ai/brain/task/GoToIfNearbyTask;create(Lnet/minecraft/entity/ai/brain/MemoryModuleType;FI)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;