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 byw
  • 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 Lbyw;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 Lbyw;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 Lbyw;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 Lbyw;a()Lbxz;
    • 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 Lbyw;a(Lash;Lbwf;Leui;Leui;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 Lbyw;a(Lbwf;Ljh;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 Lbyw;a(Lbxh;Ljh;)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 Lbyw;a(Lash;Lbwf;Ljp;)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 Lbyw;a(Lcbm;Ljava/util/Optional;Lash;Ljh;)Ljava/util/Optional;