net.minecraft.world.entity.ai.behavior

public class InteractWithDoor

bin
net.minecraft.world.entity.ai.behavior.InteractWithDoor
net.minecraft.class_4107
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
RUN_TIME
f_147585_
private static final double
b
SKIP_CLOSING_DOOR_IF_FURTHER_AWAY_THAN
field_30126
PATHING_DISTANCE
f_147586_
private static final double
c
MAX_DISTANCE_TO_HOLD_DOOR_OPEN_FOR_OTHER_MOBS
field_30127
REACH_DISTANCE
f_147587_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static BehaviorControl<LivingEntity>
a()
create()
method_46964()
create()
m_257893_()
public static void
a(aip arg0, bfx arg1, dwx arg2, dwx arg3, Set<hc> arg4, Optional<List<bfx>> 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)
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(bfx arg0, gt arg1, Optional<List<bfx>> 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)
m_257369_(C_524_ p_260091_, C_4675_ p_259764_, Optional<List<C_524_>> p_259365_)
private static boolean
a(bgy<?> arg0, gt arg1)
isMobComingThroughDoor(Brain<?> arg0, BlockPos arg1)
method_30766(class_4095<?> arg0, class_2338 arg1)
hasReached(Brain<?> brain, BlockPos pos)
m_257446_(C_548_<?> p_259548_, C_4675_ p_259146_)
private static boolean
a(aip arg0, bfx arg1, hc 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)
m_23307_(C_12_ p_23308_, C_524_ p_23309_, C_4697_ p_23310_)
private static Optional<Set<GlobalPos>>
a(blc<com.mojang.datafixers.kinds.OptionalBox$Mu, Set<hc>> arg0, Optional<Set<hc>> arg1, aip arg2, gt 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)
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_)