Class OpenDoorsTask

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

public class OpenDoorsTask extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/OpenDoorsTask
intermediary net/minecraft/class_4107
official bwi
  • Field Details

    • RUN_TIME

      private static final int RUN_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named RUN_TIME Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;RUN_TIME:I
      intermediary field_30125 Lnet/minecraft/class_4107;field_30125:I
      official a Lbwi;a:I
    • PATHING_DISTANCE

      private static final double PATHING_DISTANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PATHING_DISTANCE Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;PATHING_DISTANCE:D
      intermediary field_30126 Lnet/minecraft/class_4107;field_30126:D
      official b Lbwi;b:D
    • REACH_DISTANCE

      private static final double REACH_DISTANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named REACH_DISTANCE Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;REACH_DISTANCE:D
      intermediary field_30127 Lnet/minecraft/class_4107;field_30127:D
      official c Lbwi;c:D
  • Constructor Details

    • OpenDoorsTask

      public OpenDoorsTask()
  • Method Details

    • create

      public static Task<LivingEntity> create()
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;create()Lnet/minecraft/entity/ai/brain/task/Task;
      intermediary method_46964 Lnet/minecraft/class_4107;method_46964()Lnet/minecraft/class_7893;
      official a Lbwi;a()Lbvl;
    • pathToDoor

      public static void pathToDoor(ServerWorld world, LivingEntity entity, @Nullable @Nullable PathNode lastNode, @Nullable @Nullable PathNode currentNode, Set<GlobalPos> doors, Optional<List<LivingEntity>> otherMobs)
      Mappings:
      Namespace Name Mixin selector
      named pathToDoor Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;pathToDoor(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;Ljava/util/Set;Ljava/util/Optional;)V
      intermediary method_30760 Lnet/minecraft/class_4107;method_30760(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_9;Lnet/minecraft/class_9;Ljava/util/Set;Ljava/util/Optional;)V
      official a Lbwi;a(Larf;Lbtr;Leoj;Leoj;Ljava/util/Set;Ljava/util/Optional;)V
    • hasOtherMobReachedDoor

      private static boolean hasOtherMobReachedDoor(LivingEntity entity, BlockPos pos, Optional<List<LivingEntity>> otherMobs)
      Mappings:
      Namespace Name Mixin selector
      named hasOtherMobReachedDoor Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;hasOtherMobReachedDoor(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/BlockPos;Ljava/util/Optional;)Z
      intermediary method_30761 Lnet/minecraft/class_4107;method_30761(Lnet/minecraft/class_1309;Lnet/minecraft/class_2338;Ljava/util/Optional;)Z
      official a Lbwi;a(Lbtr;Liz;Ljava/util/Optional;)Z
    • hasReached

      private static boolean hasReached(Brain<?> brain, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named hasReached Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;hasReached(Lnet/minecraft/entity/ai/brain/Brain;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_30766 Lnet/minecraft/class_4107;method_30766(Lnet/minecraft/class_4095;Lnet/minecraft/class_2338;)Z
      official a Lbwi;a(Lbut;Liz;)Z
    • cannotReachDoor

      private static boolean cannotReachDoor(ServerWorld world, LivingEntity entity, GlobalPos doorPos)
      Mappings:
      Namespace Name Mixin selector
      named cannotReachDoor Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;cannotReachDoor(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/GlobalPos;)Z
      intermediary method_30762 Lnet/minecraft/class_4107;method_30762(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_4208;)Z
      official a Lbwi;a(Larf;Lbtr;Ljh;)Z
    • storePos

      private static Optional<Set<GlobalPos>> storePos(MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu,Set<GlobalPos>> queryResult, Optional<Set<GlobalPos>> doors, ServerWorld world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named storePos Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;storePos(Lnet/minecraft/entity/ai/brain/MemoryQueryResult;Ljava/util/Optional;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;
      intermediary method_46969 Lnet/minecraft/class_4107;method_46969(Lnet/minecraft/class_7906;Ljava/util/Optional;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Ljava/util/Optional;
      official a Lbwi;a(Lbyy;Ljava/util/Optional;Larf;Liz;)Ljava/util/Optional;