net.minecraft.world.entity.ai.behavior

public class InteractWithDoor

bwh
net.minecraft.world.entity.ai.behavior.InteractWithDoor
net.minecraft.class_4107
net.minecraft.unmapped.C_mdkbucgk
net.minecraft.entity.ai.brain.task.OpenDoorsTask
net.minecraft.entity.ai.brain.task.OpenDoorsTask
net.minecraft.src.C_598_
net.minecraft.world.entity.ai.behavior.BehaviorInteract

Field summary

Modifier and TypeField
private static final int
a
COOLDOWN_BEFORE_RERUNNING_IN_SAME_NODE
field_30125
f_ojnabwwl
RUN_TIME
RUN_TIME
f_147585_
private static final double
b
SKIP_CLOSING_DOOR_IF_FURTHER_AWAY_THAN
field_30126
f_qkjzuduo
PATHING_DISTANCE
PATHING_DISTANCE
f_147586_
private static final double
c
MAX_DISTANCE_TO_HOLD_DOOR_OPEN_FOR_OTHER_MOBS
field_30127
f_meknrxex
REACH_DISTANCE
REACH_DISTANCE
f_147587_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static BehaviorControl<LivingEntity>
a()
create()
method_46964()
m_ggugtmce()
create()
create()
m_257893_()
public static void
a(arf arg0, btq arg1, eoi arg2, eoi arg3, Set<jh> arg4, Optional<List<btq>> 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)
m_kfzrtfxp(C_bdwnwhiu arg0, C_usxaxydn arg1, C_dfzwsdmo arg2, C_dfzwsdmo arg3, Set<C_ovcqqyqp> arg4, Optional<List<C_usxaxydn>> arg5)
pathToDoor(ServerWorld world, LivingEntity entity, PathNode lastNode, PathNode currentNode, Set<GlobalPos> doors, Optional<List<LivingEntity>> otherMobs)
pathToDoor(ServerWorld world, LivingEntity entity, PathNode lastNode, PathNode currentNode, Set<GlobalPos> doors, Optional<List<LivingEntity>> otherMobs)
m_258036_(C_12_ p_260343_, C_524_ p_259371_, C_2751_ p_259408_, C_2751_ p_260013_, Set<C_4697_> p_259401_, Optional<List<C_524_>> p_260015_)
private static boolean
a(btq arg0, iz arg1, Optional<List<btq>> arg2)
areOtherMobsComingThroughDoor(LivingEntity arg0, BlockPos arg1, Optional<List<LivingEntity>> arg2)
method_30761(class_1309 arg0, class_2338 arg1, Optional<List<class_1309>> arg2)
m_ptbjvbpp(C_usxaxydn arg0, C_hynzadkk arg1, Optional<List<C_usxaxydn>> arg2)
hasOtherMobReachedDoor(LivingEntity entity, BlockPos pos, Optional<List<LivingEntity>> otherMobs)
hasOtherMobReachedDoor(LivingEntity entity, BlockPos pos, Optional<List<LivingEntity>> otherMobs)
m_257369_(C_524_ p_260091_, C_4675_ p_259764_, Optional<List<C_524_>> p_259365_)
private static boolean
a(bus<?> arg0, iz arg1)
isMobComingThroughDoor(Brain<?> arg0, BlockPos arg1)
method_30766(class_4095<?> arg0, class_2338 arg1)
m_cgqfgfby(C_rjqjaxef<?> arg0, C_hynzadkk arg1)
hasReached(Brain<?> brain, BlockPos pos)
hasReached(Brain<?> brain, BlockPos pos)
m_257446_(C_548_<?> p_259548_, C_4675_ p_259146_)
private static boolean
a(arf arg0, btq arg1, jh arg2)
isDoorTooFarAway(ServerLevel arg0, LivingEntity arg1, GlobalPos arg2)
method_30762(class_3218 arg0, class_1309 arg1, class_4208 arg2)
m_huatrnxz(C_bdwnwhiu arg0, C_usxaxydn arg1, C_ovcqqyqp arg2)
cannotReachDoor(ServerWorld world, LivingEntity entity, GlobalPos doorPos)
cannotReachDoor(ServerWorld world, LivingEntity entity, GlobalPos doorPos)
m_23307_(C_12_ p_23308_, C_524_ p_23309_, C_4697_ p_23310_)
private static Optional<Set<GlobalPos>>
a(byx<com.mojang.datafixers.kinds.OptionalBox$Mu, Set<jh>> arg0, Optional<Set<jh>> arg1, arf arg2, iz 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)
m_xutscifj(C_ujlmiamh<com.mojang.datafixers.kinds.OptionalBox$Mu, Set<C_ovcqqyqp>> arg0, Optional<Set<C_ovcqqyqp>> arg1, C_bdwnwhiu arg2, C_hynzadkk arg3)
storePos(MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox$Mu, Set<GlobalPos>> queryResult, Optional<Set<GlobalPos>> doors, ServerWorld world, BlockPos pos)
rememberToCloseDoor(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox$Mu, Set<GlobalPos>> memoryAccessor, Optional<Set<GlobalPos>> doors, ServerWorld world, BlockPos pos)
m_261108_(C_256705_<com.mojang.datafixers.kinds.OptionalBox$Mu, Set<C_4697_>> p_262178_, Optional<Set<C_4697_>> p_261639_, C_12_ p_261528_, C_4675_ p_261874_)