This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I am trying to make a command block door and I need help.
I got the idea from youtube and its not working.
command block no.1: execute if entity @p[x=609,y=71,z=71,distance=3]
set to: repeat, unconditional, always active
command block no.2: fill 609 71 2731 607 74 2731 air
set to: impulse, unconditional, needs redstone
command block no.3: fill 609 71 2731 607 74 2731 minecraft:white_stained_glass_pane
the idea: when command block no.1 detects a player it sends a redstone signal which makes command block no.2 make the blocks disappear and then command block no.3 activates and return the blocks to where they were.
the video:
You always want to use ..3 instead of 3 for the distance(unless it has to be extremely precise).
Command block engineer // Developer // #TeamTrees
I am trying to make a command block door and I need help.
I got the idea from youtube and its not working.
command block no.1: execute if entity @p[x=609,y=71,z=71,distance=3]
set to: repeat, unconditional, always active
command block no.2: fill 609 71 2731 607 74 2731 air
set to: impulse, unconditional, needs redstone
command block no.3: fill 609 71 2731 607 74 2731 minecraft:white_stained_glass_pane
set to: impulse, unconditional, needs redstone
the idea: when command block no.1 detects a player it sends a redstone signal which makes command block no.2 make the blocks disappear and then command block no.3 activates and return the blocks to where they were.
the video:
You always want to use ..3 instead of 3 for the distance(unless it has to be extremely precise).
Command block engineer // Developer // #TeamTrees