Class ForgetCompletedPointOfInterestTask

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

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

    • MAX_RANGE

      private static final int MAX_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbkt;a:I
      intermediary field_30185 Lnet/minecraft/class_4128;field_30185:I
      named MAX_RANGE Lnet/minecraft/entity/ai/brain/task/ForgetCompletedPointOfInterestTask;MAX_RANGE: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
      official a Lbkt;a(Ljava/util/function/Predicate;Lbpb;)Lbhs;
      intermediary method_47190 Lnet/minecraft/class_4128;method_47190(Ljava/util/function/Predicate;Lnet/minecraft/class_4140;)Lnet/minecraft/class_7893;
      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;
    • isBedOccupiedByOthers

      private static boolean isBedOccupiedByOthers(ServerWorld world, BlockPos pos, LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbkt;a(Laif;Lgu;Lbfz;)Z
      intermediary method_20500 Lnet/minecraft/class_4128;method_20500(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1309;)Z
      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