dan200 / ComputerCraft

Programmable Computers for Minecraft
Other
980 stars 198 forks source link

[Suggestion] giving turtles the ability to detect light levels #450

Open zachary-D opened 6 years ago

zachary-D commented 6 years ago

turtle.getLightLevel() could return the light level.

This could allow turtles to automatically determine which areas are dark to light areas, and also could be used to time things to sunrise/sunset (although this can be determined with the system time also), as well as mob spawners.

SquidDev commented 6 years ago

Personally I feel this fits better as a peripheral rather in the base turtle API. Ignoring turtle.detect(), turtles are pretty much blind. I'm pretty sure Plethora's daylight detector provides this functionality, and I'm sure there are other mods too.

dirthsj commented 6 years ago

I feel compelled to mention that dan has stated he doesn't want suggestions here. It's in a few other closed suggestions as well, this was just the first I could find.

SquidDev commented 6 years ago

To expand on @KingofGamesYami's comment, suggestions generally go on the Suggestions sub-forum.

zachary-D commented 6 years ago

My, bad I saw some others here and didn't know there was a better place for them.