I want to create a big facility in my minecraft world for storage purposes etc, and i want to make doors that can be opened with a button. But it usually will close in front of my face or last a short time not enough for my friends and me to go through.
Is it possible to make a button that would open the doors for maybe 10 seconds? And after the time runs out they would simply close behind us.
If the above isn't possible, maybe it's possible to make doors that would open when the player walks close to them, and stay opened until there's no player in sight of the door. Maybe it's possible to do with command blocks OR either mods. If there's a mod for this on 1.16.4 could someone link it here?