This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
abregado's profile picture

setblock Advanced Monitor Variants [HOWEVEN?]

Started by abregado, 25 October 2016 - 10:33 PM
abregado #1
Posted 26 October 2016 - 12:33 AM
Hey CCCrew

Ive created a little script to generate rooms that have monitors embedded in the walls using
/setblock
and
/fill
. My issue is stemming from the placement of Monitors using this command.


/fill ~ ~ ~ ~2 ~2 ~ computercraft:CC-Peripheral 12
Which places a 3x3 area of Advanced Monitors. However they are not connected. Ive noticed from the debug(f3) info that each monitor in a connected array of monitors has a different variant.

Questions:
Is it possible to setblock these variants?
If so will the monitors be connected properly in ComputerCraft without any human interaction?
Is it also possible to setblock the facing?
Bomb Bloke #2
Posted 26 October 2016 - 03:02 AM
As far as I can make out, this isn't possible. Even the facing is determined by block state, as opposed to metadata or NBT, and I can't see any way to alter block state via commands.
exosceleton #3
Posted 26 October 2016 - 10:28 PM
Do not lose hope! A friend of mine managed to make this happen somehow. I'll contact him and edit-add the solution to this post when I can.
In the meantime- keep looking!

P.S
I know this post doesn't really help you right now, I just wanted to say that it IS possible! :)/>