Class ForgetCompletedPointOfInterestTask

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

public class ForgetCompletedPointOfInterestTask extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/ForgetCompletedPointOfInterestTask
intermediary net/minecraft/class_4128
official bym
  • Field Details

    • MAX_RANGE

      private static final int MAX_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_RANGE Lnet/minecraft/entity/ai/brain/task/ForgetCompletedPointOfInterestTask;MAX_RANGE:I
      intermediary field_30185 Lnet/minecraft/class_4128;field_30185:I
      official a Lbym;a:I
  • Constructor Details

    • ForgetCompletedPointOfInterestTask

      public ForgetCompletedPointOfInterestTask()
  • Method Details

    • create

      public static Task<LivingEntity> create(Predicate<RegistryEntry<PointOfInterestType>> poiTypePredicate, MemoryModuleType<GlobalPos> poiPosModule)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/ai/brain/task/ForgetCompletedPointOfInterestTask;create(Ljava/util/function/Predicate;Lnet/minecraft/entity/ai/brain/MemoryModuleType;)Lnet/minecraft/entity/ai/brain/task/Task;
      intermediary method_47190 Lnet/minecraft/class_4128;method_47190(Ljava/util/function/Predicate;Lnet/minecraft/class_4140;)Lnet/minecraft/class_7893;
      official a Lbym;a(Ljava/util/function/Predicate;Lccu;)Lbvk;
    • isBedOccupiedByOthers

      private static boolean isBedOccupiedByOthers(ServerWorld world, BlockPos pos, LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named isBedOccupiedByOthers Lnet/minecraft/entity/ai/brain/task/ForgetCompletedPointOfInterestTask;isBedOccupiedByOthers(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/LivingEntity;)Z
      intermediary method_20500 Lnet/minecraft/class_4128;method_20500(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1309;)Z
      official a Lbym;a(Larf;Liz;Lbtq;)Z