
Video: Dynamic Lighting [Daylight Sensor] "Redstone Tutorial" (Minecraft Xbox TU19/PlayStation CU7/PS Vita) by Fed X Gaming
How to build it
- Design 1: Dig the Single Fire Pit Trench
Dig a 1x4 trench that is 2 blocks deep, and clear 1 extra block to the side for the daylight sensor input. Place a piece of redstone dust at the bottom of the entry end of the trench, leading into a solid block.
- Place the Repeater and Dispenser
Place a redstone repeater on a 1-tick delay coming out of that solid block. Directly in front of the repeater, place an upward-facing dispenser (make sure it is a dispenser and not a dropper) and fill it with fire charges.
- Add the Sticky Piston and Netherrack
On top of the solid block behind the repeater, place a sticky piston facing toward the dispenser with a block of netherrack on its face. Place a redstone torch on the side of the block beneath the dispenser, and put a solid block directly above that torch so the piston extends the netherrack over the dispenser.
- Connect the Inverted Daylight Sensor
To make the fire ignite at night, invert the input by placing a solid block with a redstone torch on its side feeding into your first piece of redstone dust. Place a daylight detector connected to that torch block with redstone dust, and surround the surface netherrack with stone slabs.
- Design 2: Prep the 2x2 Fire Pit Base
For the larger medieval fire pit, dig an 8x5 hole that is 2 blocks deep. From the bottom-left corner, count 4 blocks over and 1 block up, then place 2 solid blocks side-by-side with redstone dust on top of both.
- Wire the Dual Repeater Branches
Run a repeater outward from both sides of those center blocks into solid blocks. Turn inward on both sides and place another repeater coming out of those blocks into a second set of solid blocks, then place redstone dust leading toward the center.
- Install the Four Dispensers and Pistons
Place 4 upward-facing dispensers in a 2x2 square in the center and fill each with fire charges. Crouch and place 4 sticky pistons facing the center above the repeaters and wiring, with a block of netherrack in front of each piston.
- Power the Outer Pistons
On both the left and right branches, place a redstone torch on the side of the outer repeater's target block with a solid block on top of the torch. Step down one block next to each torch block and place redstone dust so both sticky pistons on each side extend the netherrack.
- Connect the Center Wiring and Sensor
Place 2 pieces of redstone dust in the center gap to link the dispensers, then invert the main input using a block and a redstone torch. Run a redstone line out to a daylight detector, and cover the exposed pistons and wiring around the pit with stone slabs and carpets.
- Design 3: Build the Street Lamp Post
For the modern street lamp, place 2 stacked stone slabs on the ground to form a full double-slab base, then stack 4 cobblestone walls on top. Add 3 more stone slabs on top of the walls to create the top overhang.
- Wire the Street Lamp Sensor and Lamp
Attach a daylight detector to the back of the top slab structure, and place an upside-down slab against the fourth cobblestone wall with redstone dust on top. Place a redstone torch on the side of the block next to the dust, extend 2 slabs out from the torch, and hang a redstone lamp underneath next to the torch.
How it works
All three lighting systems rely on a NOT gate (redstone torch inverter) connected to a daylight detector:
- Daytime (Off State): While the sun is up, the daylight detector outputs a redstone signal that powers the block holding the inverting redstone torch, turning that torch off. In the fire pits, the outer redstone torches stay lit, keeping the sticky pistons extended so the netherrack sits above the dispensers without firing. In the street lamp, the turned-off torch keeps the redstone lamp dark.
- Nighttime (On State): When night falls, the daylight detector stops outputting power and the inverting redstone torch turns on. In the street lamp, this directly powers the adjacent redstone lamp. In the fire pits, the signal travels through the repeaters to simultaneously power the upward-facing dispensers (shooting a fire charge to light the netherrack) and invert the outer piston torches.
- Extinguishing at Dawn: When morning arrives, the main input turns off again. The outer piston torches re-ignite, briefly retracting and re-extending the netherrack blocks, which automatically snuffs out the flames until the next night.
Tips & variations
- Dispenser vs. Dropper: Always double-check that you are placing a dispenser and not a dropper. A dropper will simply eject the raw fire charge item onto the ground instead of igniting the netherrack.
- Controlling When Lights Turn On: A daylight detector's signal strength fades gradually as the sun sets. If you run a long redstone dust wire from the sensor to the inverter, the lights will turn on earlier in the evening. If you want the lights to wait until it is completely dark outside, place a redstone repeater directly against the daylight detector to boost the weak twilight signal.
- Hiding the Redstone: Use carpets directly over the sticky pistons on the 2x2 fire pit so the mechanism stays flush with the floor without blocking piston movement.




