Class GoToRememberedPositionTask

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

public class GoToRememberedPositionTask extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/GoToRememberedPositionTask
intermediary net/minecraft/class_4121
official bxj
  • 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
      named createPosBased Lnet/minecraft/entity/ai/brain/task/GoToRememberedPositionTask;createPosBased(Lnet/minecraft/entity/ai/brain/MemoryModuleType;FIZ)Lnet/minecraft/entity/ai/brain/task/Task;
      intermediary method_47091 Lnet/minecraft/class_4121;method_47091(Lnet/minecraft/class_4140;FIZ)Lnet/minecraft/class_7893;
      official a Lbxj;a(Lccq;FIZ)Lbvg;
    • createEntityBased

      public static SingleTickTask<PathAwareEntity> createEntityBased(MemoryModuleType<? extends Entity> entityModule, float speed, int range, boolean requiresWalkTarget)
      Mappings:
      Namespace Name Mixin selector
      named createEntityBased Lnet/minecraft/entity/ai/brain/task/GoToRememberedPositionTask;createEntityBased(Lnet/minecraft/entity/ai/brain/MemoryModuleType;FIZ)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
      intermediary method_24603 Lnet/minecraft/class_4121;method_24603(Lnet/minecraft/class_4140;FIZ)Lnet/minecraft/class_7894;
      official b Lbxj;b(Lccq;FIZ)Lbwq;
    • 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
      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;
      intermediary method_47092 Lnet/minecraft/class_4121;method_47092(Lnet/minecraft/class_4140;FIZLjava/util/function/Function;)Lnet/minecraft/class_7894;
      official a Lbxj;a(Lccq;FIZLjava/util/function/Function;)Lbwq;