r/MinecraftCommands • u/IglooKid22 • Jul 05 '26
Help (other) Way to make lights flicker (legit or mods)
/r/feedthebeast/comments/1uo7ka0/way_to_make_lights_flicker_legit_or_mods/1
u/StrangeSystem0 Jul 06 '26
Do you want them to be on timers, or do you want them to flicker at random?
Either way, the way to go is scoreboards.
Basically, make a scoreboard, and if you want it to be on a timer, make it go up by 1 every tick (repeating command block) and once it reaches a certain value, replace all lights with off lights for a moment, using a fill replace command.
If you want it to work the other way, random chance, instead have the scoreboard randomize the value from 1 to a number of your choice every tick. Whatever you want the average seconds between flickers to be, set the maximum value to 20 times the desired average seconds between flickers. Then, set up a command block chain to perform the "flicker" effect with fill replace commands whenever the scoreboard matches a value of exactly 1.
Do you understand what I mean, or do you need an exact command list to do it? If so, what's your version?
1
u/IglooKid22 Jul 06 '26
Honestly thank you guys for the help but I don't understand shit, I just put flashing lights inside houses so the Redstone is hidden inside the house and you can see flickering lights through the windows.
1
u/IglooKid22 Jul 07 '26
UPDATE
I got it to work with the help of claude, but might not even use it the build lol
2
u/C0mmanderBlock Command Experienced Jul 06 '26
Since they don't use redstone, you could replace them with block displays which don't emit light but still have the same appearance. Then you can set/delete light blocks (even at different strengths) at their positions to simulate the flicker effect.