Basically, I have a map that has plenty of repeating command blocks (always active) that are not working. If you replace the command block and put the same command in it, then it works like it should, but after some time (probably just when you quit the game and join again), the repeating command block stops working again. It's as if the command block wasn't on always active. Also, I made sure that every criterias to activate the commands were filled and that the command blocks were on always active, but even then, the commands would not work. Also, changing the command or switching the command block settings (always active or not, repeating, chained or impulse etc.) would not make it work again, only breaking it and placing the command back in it/placing a copy of the block (ctrl+mouse wheel, to keep the NBT of the original) would temporarily fix the problem.
Here is a list of commands in repeating command blocks that does not work:
(Boosts) If you are in a certain team and crouch and that your boost score is 0, you get an effect:
Command#.1 (Repeat): /effect give @a[team=Speedster,scores={Crouch=1..,Boost=0}] minecraft:speed 8 13 trueCommand#.2 (Chained): /scoreboard players set @a[team=Speedster,scores={Crouch=1..,Boost=0}] Crouch 0
Commands that says when the boosts are on or off (the "Boost" scoreboard is affected by eating rotten flesh): (these 4 commands run in a loop)
Command #.1 (Repeat) /tellraw @a[scores={Boost=3}] {"text":"Boosts ON!","color":"dark_green"} Command#.2 (Chained): /scoreboard players set @a[scores={Boost=3}] Boost 0 Command #.1 (Repeat): tellraw @a[scores={Boost=1}] {"text":"Boosts OFF!","color":"dark_red"} Command #.2 (Chained): scoreboard players set @a[scores={Boost=1}] Boost 2
Here is a list of commands in repeating command blocks that does work:
If you walk on light blue concrete, you get a speed boost:
(Repeat): /execute at @a if block ~ ~-1 ~ minecraft:light_blue_concrete run effect give @p[distance=..3] minecraft:speed 1 15
Mobs have special effects:
(Repeat): /execute at @e[type=creeper] run effect give @e[distance=0..1,type=creeper] minecraft:blindness 10 0 true
From what I could see right now, the only commands on repeat that does not seem to work are the one that needs a specific criteria/another scoreboard objective to be activated (for exemple, having {boost=0} or {crouch=1..}).
Because of that bug, a lot of features on my map doesn't work which is quite a problem for me, I would really appreciate it if you could fix this soon! Thank you!
Linked issues
Attachments
Comments
I have this same issue in my Minecraft world. I have looked for a fix to it but cannot find one. I hope this is fixed in the next updates.
Does MC-86846 describe your issue?
It seems to be the same problem, I've also found another post which seems to be the same problem:
https://bugs.mojang.com/browse/MC-151813
From what I've seen, my post seems to have the most information about this problem, the problematic commands (and the ones that do work) that I've sent on my post would probably be a good place to start to try to fix this bug!
I know this is an old issue that is now apparently resolved, however, this sounds like the exact issue I am having on my server in 1.16.3, not sure if there is something I’m doing wrong or what I need to do about this, but any help would be much appreciated
I have the exact same issue. No matter what I do, they never come back to life on their own.
i must either rig up an absurd contraption to continuously reset all the command blocks, or I must manually restart all of them.
Logging out and back in doesn’t repair them, the glitch is kept when backing up, so your map will be broken as a result of dead command blocks,
AND WORSE YET, THERE’S NO WAY TO KEEP THEM ALIVE!
I’ve tried Turning off always active and placing a red stone block to power it, it still glitches…
this bug should have been fixed years ago, but it’s still breaking maps including mine and it’s extremely annoying.
Nearly all bugs I encounter when play testing are dead command blocks.
I can only guess that the game realized there’s too many command blocks and tries to optimize by running less of them… BUT THEN IT DOESN’T TURN THEM BACK ON WHEN YOU NEED THEM! It’s extremely annoying!!! I have to run around my entire map manually repairing dead command blocks like an endless stupid game of wackamole!!!!
NOTE IT’S STILL DOING THIS IN THE ABSOLUTE LATEST VERSION 1.20 pre-4
The backslashes in the commands written in that text (after scores=...) are not there in the commands on the map. I can't remove them from the description for some reasons.