Class GoToRememberedPositionTask

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

public class GoToRememberedPositionTask extends Object
Mappings:
Namespace Name
official bjs
intermediary net/minecraft/class_4121
named net/minecraft/entity/ai/brain/task/GoToRememberedPositionTask
  • Constructor Details

    • GoToRememberedPositionTask

      public GoToRememberedPositionTask()
  • Method Details

    • createPosBased

      public static Task<PathAwareEntity> createPosBased(MemoryModuleType<BlockPos> posModule, float speed, int range, boolean requiresWalkTarget)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjs;a(Lboz;FIZ)Lbhq;
      intermediary method_47091 Lnet/minecraft/class_4121;method_47091(Lnet/minecraft/class_4140;FIZ)Lnet/minecraft/class_7893;
      named createPosBased Lnet/minecraft/entity/ai/brain/task/GoToRememberedPositionTask;createPosBased(Lnet/minecraft/entity/ai/brain/MemoryModuleType;FIZ)Lnet/minecraft/entity/ai/brain/task/Task;
    • createEntityBased

      public static SingleTickTask<PathAwareEntity> createEntityBased(MemoryModuleType<? extends Entity> entityModule, float speed, int range, boolean requiresWalkTarget)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjs;b(Lboz;FIZ)Lbiz;
      intermediary method_24603 Lnet/minecraft/class_4121;method_24603(Lnet/minecraft/class_4140;FIZ)Lnet/minecraft/class_7894;
      named createEntityBased Lnet/minecraft/entity/ai/brain/task/GoToRememberedPositionTask;createEntityBased(Lnet/minecraft/entity/ai/brain/MemoryModuleType;FIZ)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
    • create

      private static <T> SingleTickTask<PathAwareEntity> create(MemoryModuleType<T> posSource, float speed, int range, boolean requiresWalkTarget, Function<T,Vec3d> posGetter)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjs;a(Lboz;FIZLjava/util/function/Function;)Lbiz;
      intermediary method_47092 Lnet/minecraft/class_4121;method_47092(Lnet/minecraft/class_4140;FIZLjava/util/function/Function;)Lnet/minecraft/class_7894;
      named create Lnet/minecraft/entity/ai/brain/task/GoToRememberedPositionTask;create(Lnet/minecraft/entity/ai/brain/MemoryModuleType;FIZLjava/util/function/Function;)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;