How to make command block stop outputting signal? [duplicate]
![How to make command block stop outputting signal? [duplicate] - Patient showing stop gesture in light clinic How to make command block stop outputting signal? [duplicate] - Patient showing stop gesture in light clinic](/assets/images/how_to_make_command_block_stop_outputting_signal_duplicate_0.jpeg)
I want to create a command block with the command
/clear @a[r=5,m=0] 570
(Yes, it is an ID from a mod, but it does not matter anything). I want to detect when this command has succeeded using comparator facing from the command block.
So, everything works good, but the comparator after that is always outputting. How to make it stop outputtng, so the command success can be detected several times?
I tried to hook up the command block with /blockdata ~ ~ ~2 {SuccessCount:0}
where the coordinates point at the first command block, but this didnt work.
I'm running Minecraft 1.7.10.
Best Answer
Command blocks only update when a redstone current is being applied to it. For example, if someone wanted to update the output every 5 seconds, they would put a 5-second clock running into it. To update when a player clicks a button, just wire up the button to the command block.
See here for a fast clock you can use to update it almost instantly after change.
Pictures about "How to make command block stop outputting signal? [duplicate]"
![How to make command block stop outputting signal? [duplicate] - Unrecognizable young woman demonstrating prohibition sign showing gesture of refuse using hand and note with sign stop How to make command block stop outputting signal? [duplicate] - Unrecognizable young woman demonstrating prohibition sign showing gesture of refuse using hand and note with sign stop](/assets/images/how_to_make_command_block_stop_outputting_signal_duplicate_1.jpeg)
![How to make command block stop outputting signal? [duplicate] - Devastated Bus Stop in Town after Bomb Explosion How to make command block stop outputting signal? [duplicate] - Devastated Bus Stop in Town after Bomb Explosion](/assets/images/how_to_make_command_block_stop_outputting_signal_duplicate_2.jpeg)
![How to make command block stop outputting signal? [duplicate] - Crop unrecognizable person in rubber gloves raising arms How to make command block stop outputting signal? [duplicate] - Crop unrecognizable person in rubber gloves raising arms](/assets/images/how_to_make_command_block_stop_outputting_signal_duplicate_3.jpeg)
How do you get a command block to stop repeating?
Go into your world settings. Scroll down to the cheats section and you should see "Command Blocks enabled" or something like that. Flick that off and the command block should stop. If you don't want your chat to be spammed like that, type /gamerule commandblockoutput false .How do I mute command block outputs?
While the obvious way to turn off these grey messages is to use /gamerule sendCommandFeedback false , this also prevents players from seeing their own command feedback, which commands users find vital in knowing whether their commands succeed or not.What is the command to stop command feedback?
With repeating command blocks, one can perform commands that other players can not perform. To get a repeating command block, players must use the /give command like so: /give @p minecraft:repeating_command_block <amount> .More answers regarding how to make command block stop outputting signal? [duplicate]
Answer 2
When I just ran /blockdata 1014 56 992 {SuccessCount:0}
, the block I was targeting stopped outputting. However, if this is not working for you, you might try adding TrackOutput:0b
/blockdata 1014 56 992 {SuccessCount:0,TrackOutput:0b}
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: SHVETS production, Anete Lusina, Алесь Усцінаў, Anna Shvets