How to place blocks in minecraft with commands

In Minecraft Java Edition (PC/Mac) 1.8, 1.9, 1.10, 1.11 and 1.12, the syntax to replace a block with another block is: /setblock <x> <y> <z> <tileName> [dataValue] [oldBlockHandling] [dataTag] Definitions pos or x y z is the x y z coordinate for the block to replace. tileName is name of the replacement block. (See Minecraft … Read more