DoorInteraction 5.46.0
Opens the doors on a mob's path and closes them behind it (vanilla InteractWithDoor): a closed door (not iron) in the current or next node of the path opens when the mob is within 2 blocks of it; doors it opened close again once it is more than 2 blocks away, unless another villager is in the doorway. Paths only go through doors for mobs whose path finder can open them (see \pocketmine\entity\ai\navigation\PathFinder::setCanOpenDoors()).
Methods
__construct()
php
public function __construct(\pocketmine\entity\Mob $mob)tick()
php
public function tick() : void