Here's an idea for a light sensor capable of detecting any light level, with absolutely no complicated interface to set what to detect.
When in perfect darkness, the light sensor would not have a redstone charge.
In any light level 1 and up, it would generate a redstone charge with that level of strength. For example, in light level 3 it would create a weak redstone signal that would travel three spaces down a wire but no more.
Direct sunlight would create a charge with power level 15 since it creates a power level of 15. Direct moonlight, power level 4. A directly adjacent torch would create power charge 14, and it would generate a weaker charge if placed further away. Etc.
This is nothing new to the game since redstone wire already has a variety of power levels from 1-15 as it gets further from its power source. The only difference is that torches and switches always provide a maximum power level, while light sensor blocks would create a charge that varies based on ambient brightness.
Using redstone circuitry you could use a single light sensor to detect multiple kinds of light, and respond in different ways to each one. Not too shabby right?
With varying power levels based on luminance? Haven't seen that before, but of course I could have missed it, especially if it was posted long ago. Do you have a link?
When in perfect darkness, the light sensor would not have a redstone charge.
In any light level 1 and up, it would generate a redstone charge with that level of strength. For example, in light level 3 it would create a weak redstone signal that would travel three spaces down a wire but no more.
Direct sunlight would create a charge with power level 15 since it creates a power level of 15. Direct moonlight, power level 4. A directly adjacent torch would create power charge 14, and it would generate a weaker charge if placed further away. Etc.
This is nothing new to the game since redstone wire already has a variety of power levels from 1-15 as it gets further from its power source. The only difference is that torches and switches always provide a maximum power level, while light sensor blocks would create a charge that varies based on ambient brightness.
Using redstone circuitry you could use a single light sensor to detect multiple kinds of light, and respond in different ways to each one. Not too shabby right?
The Sun rises in the North!Now these points of data make a beautiful line...
Also, post #13 in http://www.minecraftforum.net/topic/1031337-light-affected-redstone/
The Sun rises in the North!Now these points of data make a beautiful line...