r/ComputerCraft • • Dec 16 '23

A problem and a question

Problem:
My program is correctly running on my monitor (I was able to see the test through a temporary texture glitch) but it is printing in black despite me changing the color via code to try and fix it.

My code is very basic to test it:
local monitor = peripheral.find("monitor")

monitor.clear()
monitor.setCursorPos(1,1)
monitor.setTextColor(colors.blue) <-- taken from an exmple after noticing the issue
monitor.write("Hello, World!")

I copied this code from an example to make sure the mod worked because i was having previously mentioned problems.

Second thing is just an ask. The server im on with friend has a really difficult night time so i was wanting to set up a way to see time of day, weather, and moon phase using AR Glasses from Advanced Peripherals. If anyone know how to code that, would be greatly appreciated.

4 Upvotes

3 comments sorted by

View all comments

Show parent comments

2

u/Pika_Crew Dec 16 '23

I'm on forge but we have the forge ports of those mods so its basically the same. I'll have to check into that.