How to place redstone using Command Blocks

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?

  • Chances of encountering a charged creeper?
  • How do I make big jungle trees?
  • Lock mode to Utility in NEI config?
  • How do I kill the enderdragon?
  • Where does Rei's Minimap store your waypoints?
  • My Custom Skin won't Change
  • Without mods, is it possible to filter items in hoppers/droppers/others?
  • Does deflecting a fireball with a looting sword give better drops?
  • Having a problem with lighting a large area
  • Can i use the /testfor command to check for certain words in chat?
  • [warning] 'Player' moved wrongly?
  • How to set Command Block(s) to test for a particular time and output a message?
  • 2 Solutions collect form web for “How to place redstone using Command Blocks”

    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

    Adding on to Angus’ answer, there are also 16 different states for redstone wire, which you can specify using the data value.

    This is because: 2^4 = 16-1 = 0 to 15.

    We love Playing Games, especially Video Games.