Creating an Automatic Door in Minecraft 1.16.4 Java Edition

Creating an Automatic Door in Minecraft 1.16.4 Java Edition

Create a door that opens automatically for you in Minecraft 1.16.4 Java Edition. Watch full video here.

To get Command Block: /give @p command_block

Command inside Command Block to activate redstone: /execute if entity @p[distance=..7,name=MinecraftUsername]

Note: Change MinecraftUserName to your username. Also, capitalization is important so enter the commands the same as you read here.