net.minecraft.world.entity.ai.behavior

public class InteractWithDoor

extends Behavior<LivingEntity>

awc
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.src.C_598_
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
f_ojnabwwl
RUN_TIME
f_147585_
private static final double
c
SKIP_CLOSING_DOOR_IF_FURTHER_AWAY_THAN
field_30126
f_qkjzuduo
PATHING_DISTANCE
f_147586_
private static final double
d
MAX_DISTANCE_TO_HOLD_DOOR_OPEN_FOR_OTHER_MOBS
field_30127
f_meknrxex
REACH_DISTANCE
f_147587_
private Node
e
lastCheckedNode
field_26387
f_nhahdude
pathNode
f_23288_
private int
f
remainingCooldown
field_26388
f_lvfixdyp
ticks
f_23289_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(abr arg0, att arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
m_pwowjghk(C_bdwnwhiu arg0, C_usxaxydn arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_6114_(C_12_ p_23293_, C_524_ arg1)
protected void
a(abr arg0, att arg1, long arg2)
start(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
m_thxoqxcz(C_bdwnwhiu arg0, C_usxaxydn arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
m_6735_(C_12_ p_23296_, C_524_ p_23297_, long arg2)
public static void
a(abr arg0, att arg1, dgy arg2, dgy arg3)
closeDoorsThatIHaveOpenedOrPassedThrough(ServerLevel arg0, LivingEntity arg1, Node arg2, Node arg3)
method_30760(class_3218 arg0, class_1309 arg1, class_9 arg2, class_9 arg3)
m_kfzrtfxp(C_bdwnwhiu arg0, C_usxaxydn arg1, C_dfzwsdmo arg2, C_dfzwsdmo arg3)
pathToDoor(ServerWorld world, LivingEntity entity, PathNode lastNode, PathNode currentNode)
m_23298_(C_12_ p_23299_, C_524_ p_23300_, C_2751_ p_23301_, C_2751_ p_23302_)
private static boolean
a(abr arg0, att arg1, gg arg2)
areOtherMobsComingThroughDoor(ServerLevel arg0, LivingEntity arg1, BlockPos arg2)
method_30761(class_3218 arg0, class_1309 arg1, class_2338 arg2)
m_ptbjvbpp(C_bdwnwhiu arg0, C_usxaxydn arg1, C_hynzadkk arg2)
hasOtherMobReachedDoor(ServerWorld world, LivingEntity entity, BlockPos pos)
m_23303_(C_12_ p_23304_, C_524_ p_23305_, C_4675_ p_23306_)
private static boolean
b(abr arg0, att arg1, gg arg2)
isMobComingThroughDoor(ServerLevel arg0, LivingEntity arg1, BlockPos arg2)
method_30766(class_3218 arg0, class_1309 arg1, class_2338 arg2)
m_cgqfgfby(C_bdwnwhiu arg0, C_usxaxydn arg1, C_hynzadkk arg2)
hasReached(ServerWorld world, LivingEntity entity, BlockPos pos)
m_23321_(C_12_ p_23322_, C_524_ p_23323_, C_4675_ p_23324_)
private static boolean
a(abr arg0, att arg1, go 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)
m_23307_(C_12_ p_23308_, C_524_ p_23309_, C_4697_ p_23310_)
private void
c(abr arg0, att arg1, gg arg2)
rememberDoorToClose(ServerLevel arg0, LivingEntity arg1, BlockPos arg2)
method_30767(class_3218 arg0, class_1309 arg1, class_2338 arg2)
m_xutscifj(C_bdwnwhiu arg0, C_usxaxydn arg1, C_hynzadkk arg2)
rememberToCloseDoor(ServerWorld world, LivingEntity entity, BlockPos pos)
m_23325_(C_12_ p_23327_, C_524_ p_23328_, C_4675_ arg2)