Jump to content




setblock Advanced Monitor Variants [HOWEVEN?]


  • You cannot reply to this topic
2 replies to this topic

#1 abregado

  • New Members
  • 1 posts

Posted 25 October 2016 - 11:33 PM

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?

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 26 October 2016 - 02: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.

#3 exosceleton

  • Members
  • 52 posts
  • LocationUmm... Mars.

Posted 26 October 2016 - 09: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! :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users