TransWikia.com

How to place redstone using Command Blocks

Arqade Asked by Rikri on July 2, 2021

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?

3 Answers

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

Correct answer by angussidney on July 2, 2021

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.

Answered by user119344 on July 2, 2021

Try putting in:

/setblock -624.5 244 -1692.5 minecraft:redstone_block 0 replace

It worked for me.

Answered by bunana__bob on July 2, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP