clock mod

Posted:
Thu Apr 25, 2013 19:28
by 12Me21
I want to make a clock mod, but I need some way of detecting the time, rounding it to the nearest 1000, then making the right clock node appear over the old one.

Posted:
Thu Apr 25, 2013 21:38
by 12Me21
I almost finished, but now it says
"17:38:26: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "clock:clock_12" at (-21,10,-857) (block (-2,0,-54))
17:38:26: ERROR[main]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "clock:clock_12" at (-21,10,-857) (block (-2,0,-54))"
all the time.

Posted:
Thu Apr 25, 2013 21:41
by Evergreen
Can you copy the code here? Use the code tags.

Posted:
Thu Apr 25, 2013 21:45
by 12Me21
I will, but do you know what is causing the errors?

Posted:
Thu Apr 25, 2013 22:25
by 12Me21
fixed:
http://ompldr.org/vaTgyYw/clock.zip(when clocks update, there is no way to keep them facing the same direction, so your clocks may face a different direction after updating.)

Posted:
Thu Apr 25, 2013 22:30
by Evergreen
Hmm, I tried it and I'm kind of confused. Let me give a go at making a clock mod.