Class GoToIfNearbyTask

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

public class GoToIfNearbyTask extends Object
Mappings:
Namespace Name
official bnn
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 Lbnn;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 Lbnn;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 Lbnn;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 Lbnn;a(Lbsh;FI)Lbmh;
      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;