recreating flickering lights with commands
Flickering lights can be accurately recreated in Minecraft using repeating command blocks and scoreboard random values instead of redstone.
- Redstone clocks fail to match FNAF 1 light timing because vanilla light blocks require three ticks to turn off and back on
- A dummy scoreboard objective acts as a variable to store a random value between 1 and 10 on repeat
- An execute command places a lantern if the score is between 2 and 10, while another turns the block to air if it rolls 1
- Setting commandBlockOutput to false prevents the chat log from getting flooded with execution results


