Description
For the neoforge 1.21.1 version:
# Features of the mod
The Mod adds a new block called nightlight sensor!
the nightlight sensor block sends a redstone signal of a configurable strength(max 15) within a configurable ingame time period measured in ticks (example:18000->6000 | fyi 18000 would be 12am and 6000 would be 12pm, every 1000ticks is an hour and the tick reset at 24000 which would be 6am).
you can open the settings menu by simply right clicking the block and when you're done configuring the values just click save to, well, save it!
Recipe
Check the gallery for the recipe
fyi: you can use any type of wooden slab it doesn't have to be same as in the picture
For the 1.20.1 forge version:
Nightlight Sensor is a mod that adds a block capable of emitting a redstone signal of 15 during a configurable time window. You can switch to a secondary time window by right-clicking it.
You can customize the block’s active hours with the following commands:
-
/nightlight set ontime <time>— set when the block starts emitting power (time can be specified in ticks or AM/PM format). -
/nightlight set offtime <time>— set when the block stops emitting power (time can be specified in ticks or AM/PM format). -
/nightlight set ontimeInv <time>— set when the block starts emitting power (time can be specified in ticks or AM/PM format). -
/nightlight set offtimeInv <time>— set when the block stops emitting power (time can be specified in ticks or AM/PM format). -
/nightlight get— check the current on/off time windows.
By default, the block turns on at 0 ticks (6 AM) and off at 17000 ticks (11 PM).
Can be crafted in a crafting table by putting 3 glass blocks along the top row , a clock in the middle slot and 1 quartz on each side of the clock and 3 wooden slabs along the bottom row.


