How to use setblock command for placing stone button on the left side of the command block
- You need to also set the datavalue of the button, which corresponds to which face of the cube it attaches to.
- Just shift-click while placing the button on the command block. –
How do you use SetBlock?
SetBlock Command in Minecraft PS4 Edition
- position is the x y z coordinate for the block to replace.
- tileName is name of the replacement block. ( See Minecraft Item Names)
- tileData is optional. It is the data value for the replacement block.
- replace is optional.
- keep is optional.
- destroy is optional.
How do you put a button on top of a command block?
Select the lever in your hotbar. Then position your pointer (the plus sign) on the block where you want to place the lever. You should now see the lever on the ground next to the command block.
How do you put a button on the side of a block?
If you want the button to be placed on the face of a block, you would have to set the block space next to the command block on the side to a button. The button isn’t attached to the block when you place it; it is actually occupying the block space next to it. That is why you can’t place a block in the same coordinates as a button.
How to set a command block to always active?
Using /setblock to place an “Always Active” command block (or any of the command block’s variants) which already has a command in it will not cause the command to run immediately. If you change the command block so that it needs redstone and then back to the “Always Active” state, the command will run as expected.
How to use the setblock command in Minecraft?
Luckily in the newest snapshots it is really easy to determine the correct datavalue by pressing F3, and then looking at the button you want to place. At the top right corner it says: Block: minecraft:stone_button/1 which you want to place. So the full command would be: setblock ~1 ~ ~ minecraft:stone_button 1
How to manage when your buttons get pushed?
Long breaths in through the nose – hold it – out through the mouth. This is a first step in calming yourself down…really it works…even for folks as high strung as my father (it’s ok; his hot buttons won’t get pushed. He doesn’t read my online “articles”).