A door that opens automatically when you get near it.
Instructions:
At the beginning a command block with the command "testfor @p[r=7]" is set up, which is activated by a clock every few ticks. This block checks (testfor) every time if a player (@p) is within 7 blocks of the command block ([r=7]).
Now a comparator and a repeater are built onto the block, which emit a signal when the Command Block finds a player. From there a connection can lead to a door. The door should be as close as possible to the Command Block, as the check is made from the Command Block's position.
The Command Block can also be used for other things. For example, to turn on lights, or to send a welcome message.
What are printing plates for? ;p
Old news.
I'm not really a fan of command blocks...
Neutral
That's about the size of it: https://minecraft-bauideen.de/305-Vollautomatische-T-r
Only this one is with pistons i.e. here you also give a like ^^
I find the idea simpler and better, especially because you can build several such doors
@SirTurtle the pistons make too much noise, so I prefer this version here.
Had seen it recently, checking for specific item in specific slot on specific player.
Who needs them?