The Daylight Sensor is a block that outputs a redstone signal based on sunlight levels. It functions as a solar panel, detecting the time of day and weather conditions, allowing players to automate devices such as lights, doors, and traps. Its signal strength increases with the brightness of the day, enabling intricate redstone contraptions that respond to the natural light cycle. Users can invert its function to detect the absence of light, thus serving as a night sensor.
The numerical item ID for Daylight Sensor is 151
Numerical item IDs will only work in Minecraft versions below 1.13.
The item ID for Daylight Sensor is minecraft:daylight_detector
This is the spawn command to give yourself Daylight Sensor in Minecraft which includes the Minecraft /give command. If you are using the Essentials plugin you will need to use /minecraft:give instead of /give