net.minecraft.world.entity.ai.behavior

public class InteractWithDoor

byx
net.minecraft.world.entity.ai.behavior.InteractWithDoor
net.minecraft.class_4107
net.minecraft.entity.ai.brain.task.OpenDoorsTask
net.minecraft.world.entity.ai.behavior.BehaviorInteractDoor

Field summary

Modifier and TypeField
private static final int
a
COOLDOWN_BEFORE_RERUNNING_IN_SAME_NODE
field_30125
RUN_TIME
private static final double
b
SKIP_CLOSING_DOOR_IF_FURTHER_AWAY_THAN
field_30126
PATHING_DISTANCE
private static final double
c
MAX_DISTANCE_TO_HOLD_DOOR_OPEN_FOR_OTHER_MOBS
field_30127
REACH_DISTANCE

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static BehaviorControl<LivingEntity>
a()
create()
method_46964()
create()
public static void
a(ash arg0, bwg arg1, euj arg2, euj arg3, Set<jp> arg4, Optional<List<bwg>> arg5)
closeDoorsThatIHaveOpenedOrPassedThrough(ServerLevel arg0, LivingEntity arg1, Node arg2, Node arg3, Set<GlobalPos> arg4, Optional<List<LivingEntity>> arg5)
method_30760(class_3218 arg0, class_1309 arg1, class_9 arg2, class_9 arg3, Set<class_4208> arg4, Optional<List<class_1309>> arg5)
pathToDoor(ServerWorld world, LivingEntity entity, PathNode lastNode, PathNode currentNode, Set<GlobalPos> doors, Optional<List<LivingEntity>> otherMobs)
private static boolean
a(bwg arg0, jh arg1, Optional<List<bwg>> arg2)
areOtherMobsComingThroughDoor(LivingEntity arg0, BlockPos arg1, Optional<List<LivingEntity>> arg2)
method_30761(class_1309 arg0, class_2338 arg1, Optional<List<class_1309>> arg2)
hasOtherMobReachedDoor(LivingEntity entity, BlockPos pos, Optional<List<LivingEntity>> otherMobs)
private static boolean
a(bxi<?> arg0, jh arg1)
isMobComingThroughDoor(Brain<?> arg0, BlockPos arg1)
method_30766(class_4095<?> arg0, class_2338 arg1)
hasReached(Brain<?> brain, BlockPos pos)
private static boolean
a(ash arg0, bwg arg1, jp arg2)
isDoorTooFarAway(ServerLevel arg0, LivingEntity arg1, GlobalPos arg2)
method_30762(class_3218 arg0, class_1309 arg1, class_4208 arg2)
cannotReachDoor(ServerWorld world, LivingEntity entity, GlobalPos doorPos)
private static Optional<Set<GlobalPos>>
a(cbn<com.mojang.datafixers.kinds.OptionalBox$Mu, Set<jp>> arg0, Optional<Set<jp>> arg1, ash arg2, jh arg3)
rememberDoorToClose(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox$Mu, Set<GlobalPos>> arg0, Optional<Set<GlobalPos>> arg1, ServerLevel arg2, BlockPos arg3)
method_46969(class_7906<com.mojang.datafixers.kinds.OptionalBox$Mu, Set<class_4208>> arg0, Optional<Set<class_4208>> arg1, class_3218 arg2, class_2338 arg3)
storePos(MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox$Mu, Set<GlobalPos>> queryResult, Optional<Set<GlobalPos>> doors, ServerWorld world, BlockPos pos)