Class OpenDoorsTask
java.lang.Object
net.minecraft.entity.ai.brain.task.OpenDoorsTask
- Mappings:
Namespace Name official bip
intermediary net/minecraft/class_4107
named net/minecraft/entity/ai/brain/task/OpenDoorsTask
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final double
private static final double
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
cannotReachDoor
(ServerWorld world, LivingEntity entity, GlobalPos doorPos) static Task<LivingEntity>
create()
private static boolean
hasOtherMobReachedDoor
(LivingEntity entity, BlockPos pos, Optional<List<LivingEntity>> otherMobs) private static boolean
hasReached
(Brain<?> brain, BlockPos pos) static void
pathToDoor
(ServerWorld world, LivingEntity entity, @Nullable PathNode lastNode, @Nullable PathNode currentNode, Set<GlobalPos> doors, Optional<List<LivingEntity>> otherMobs) storePos
(MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> queryResult, Optional<Set<GlobalPos>> doors, ServerWorld world, BlockPos pos)
-
Field Details
-
RUN_TIME
private static final int RUN_TIME- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbip;a:I
intermediary field_30125
Lnet/minecraft/class_4107;field_30125:I
named RUN_TIME
Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;RUN_TIME:I
-
PATHING_DISTANCE
private static final double PATHING_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbip;b:D
intermediary field_30126
Lnet/minecraft/class_4107;field_30126:D
named PATHING_DISTANCE
Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;PATHING_DISTANCE:D
-
REACH_DISTANCE
private static final double REACH_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lbip;c:D
intermediary field_30127
Lnet/minecraft/class_4107;field_30127:D
named REACH_DISTANCE
Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;REACH_DISTANCE:D
-
-
Constructor Details
-
OpenDoorsTask
public OpenDoorsTask()
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lbip;a()Lbhs;
intermediary method_46964
Lnet/minecraft/class_4107;method_46964()Lnet/minecraft/class_7893;
named create
Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;create()Lnet/minecraft/entity/ai/brain/task/Task;
-
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 official a
Lbip;a(Laif;Lbfz;Ldxr;Ldxr;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
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
-
hasOtherMobReachedDoor
private static boolean hasOtherMobReachedDoor(LivingEntity entity, BlockPos pos, Optional<List<LivingEntity>> otherMobs) - Mappings:
Namespace Name Mixin selector official a
Lbip;a(Lbfz;Lgu;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
named hasOtherMobReachedDoor
Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;hasOtherMobReachedDoor(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/BlockPos;Ljava/util/Optional;)Z
-
hasReached
- Mappings:
Namespace Name Mixin selector official a
Lbip;a(Lbha;Lgu;)Z
intermediary method_30766
Lnet/minecraft/class_4107;method_30766(Lnet/minecraft/class_4095;Lnet/minecraft/class_2338;)Z
named hasReached
Lnet/minecraft/entity/ai/brain/task/OpenDoorsTask;hasReached(Lnet/minecraft/entity/ai/brain/Brain;Lnet/minecraft/util/math/BlockPos;)Z
-
cannotReachDoor
- Mappings:
Namespace Name Mixin selector official a
Lbip;a(Laif;Lbfz;Lhd;)Z
intermediary method_30762
Lnet/minecraft/class_4107;method_30762(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_4208;)Z
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
-
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 official a
Lbip;a(Lble;Ljava/util/Optional;Laif;Lgu;)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;
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;
-