194: Two stage sliding door using a timer. [Minecraft Map Making]

Subscribers:
3,860
Published on ● Video Link: https://www.youtube.com/watch?v=dUye1hAMcyY



Minecraft
Game:
Minecraft (2011)
Duration: 17:04
169 views
22


Ep194: Using a timer to control the movements of a sliding door. The door slides back into the wall and then to the left to allow players to pass.

Java Version: 1.19

Commands, builds and ideas for people making their own Minecraft maps.

Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ

Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/amU84KykEu

The following commands are prefixed with three letters which represent the settings of the command block. E.g IUN: = Impulse Unconditional Needs_Redstone. These prefixes need to be removed if copying the commands.

Commands used:

Setup:
IUN: scoreboard objectives add timer dummy

Remove door:
IUN: execute as @e[tag=door] at @s run tp @s ~ -2112 ~

Create Door:
IUN: summon armor_stand ~ 54.5187 ~2 {Tags:["door"], NoGravity:true, Invulnerable:true, Invisible:true, Passengers:[{id:"minecraft:shulker", NoAI:true, Silent:true, NoGravity:true, Invulnerable:true, Tags:["door"], DeathLootTable:"empty", ActiveEffects:[{Id:14, Amplifier:0, Duration:99999999, ShowParticles:false}]}, {id:"minecraft:falling_block", NoGravity:true, Time:-99999999, DropItem:false, Tags:["door"], BlockState:{Name:"minecraft:light_gray_wool"}}]}

CUA: summon armor_stand ~ 54.5187 ~2 {Tags:["door"], NoGravity:true, Invulnerable:true, Invisible:true, Passengers:[{id:"minecraft:shulker", NoAI:true, Silent:true, NoGravity:true, Invulnerable:true, Tags:["door"], DeathLootTable:"empty", ActiveEffects:[{Id:14, Amplifier:0, Duration:99999999, ShowParticles:false}]},{id:"minecraft:falling_block", NoGravity:true, Time:-99999999, DropItem:false, Tags:["door"], BlockState:{Name:"minecraft:light_gray_wool"}}]}
Open door:
RUN: scoreboard players add #door timer 1
CUA: execute if score #door timer matches 41.. run setblock ~ ~ ~-2 white_wool replace
CCA: scoreboard players reset #door timer
CCA: data merge block 33 56 287 {Command:"setblock 35 56 289 redstone_block replace"}
CUA: execute if score #door timer matches 0..20 run execute as @e[tag=door] at @s run tp @s ~ ~ ~0.05
CUA: execute if score #door timer matches 21..40 run execute as @e[tag=door] at @s run tp @s ~0.05 ~ ~

Open door:
RUN: scoreboard players add #door timer 1
CUA: execute if score #door timer matches 41.. run setblock ~ ~ ~-2 white_wool replace
CCA: scoreboard players reset #door timer
CCA: data merge block 33 56 287 {Command:"setblock 33 56 289 redstone_block replace"}
CUA: execute if score #door timer matches 21..40 run execute as @e[tag=door] at @s run tp @s ~ ~ ~-0.05
CUA: execute if score #door timer matches 0..20 run execute as @e[tag=door] at @s run tp @s ~-0.05 ~ ~




Other Videos By Infernal Device


2023-10-18031: Fighting the Mega Flower Vinocorne. [Run for your Life. Modded Minecraft Series]
2023-10-17198: Small moving platforms. [Minecraft Map Making]
2023-10-16030: Curses! I can't kill them!. [Run for your Life. Modded Minecraft Series]
2023-10-12197: Display block basics. [Minecraft Map Making]
2023-10-11029: This looks like pleasant place. [Run for your Life. Modded Minecraft Series]
2023-10-10196: Track players and entities with a compass. [Minecraft Map Making]
2023-10-08028: Opening more portals. [Run for your Life. Modded Minecraft Series]
2023-10-07027: The scariest final boss ever! Well, probably not! [Run for your Life. Modded Minecraft Series]
2023-10-04195: Detect Target Block output using commands. [Minecraft Map Making]
2023-09-30026: Ur-Ghast's, Yeti's and SnowQueen's. Oh My! [Run for your Life. Modded Minecraft Series]
2023-09-28194: Two stage sliding door using a timer. [Minecraft Map Making]
2023-09-26025: Continue the Twilight Crawl. [Run for your Life. Modded Minecraft Series]
2023-09-25024: The ragey episode. :) [Run for your Life. Modded Minecraft Series]
2023-09-23193: Day counter. [Minecraft Map Making]
2023-09-22192: World time specific commands. [Minecraft Map Making]
2023-09-21023: Twilight Rush!!. Well, more of a crawl. [Run for your Life. Modded Minecraft Series]
2023-09-20191: Channeling Trident without a storm. [Minecraft Map Making]
2023-09-20022: To the Moon, despite the annoying snow. [Run for your Life. Modded Minecraft Series]
2023-09-18021: Base shut down controls and T-Minus 1E. [Run for your Life. Modded Minecraft Series]
2023-09-17190: Button that runs sequential commands. [Minecraft Map Making]
2023-09-14020: Storage and chill. [Run for your Life. Modded Minecraft Series]



Tags:
minecraft
adventure map
map making
commands
command blocks
1.18
custom commands
redstone
map ideas
map suggesstions
custom maps
1.19



Other Statistics

Minecraft Statistics For Infernal Device

At present, Infernal Device has 182,428 views spread across 865 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.