Minecraft – How to place redstone using Command Blocks

minecraft-java-editionminecraft-redstone

I used this to place redstone:

/setblock -624.5 244 -1692.5 redstone 0 replace

It gives an error saying that there is no such thing as minecraft:redstone. I tried many different things and nothing works. How can I make a command block place redstone?

Best Answer

The are two reasons why this command probably isn't working:

  • First, you can't have decimals with the co-ordinates of this particular Minecraft block. They have to be whole numbers not decimals. Try placing a block where you want the redstone to be, look at it, press F3. You will see the co-ordinates of the block in the top right hand side. (See 'looking at'). Destroy the block and use these co-ords in the command.
  • Secondly, the id for redstone dust (the block) is minecraft:redstone_wire, as the inventory item is minecraft:redstone