mojira.dev
MC-18874

Command Blocks outputting signals with invalid comands

I made a Mutation system that interferes with my Vampire System and when I typed in "e" in the command block it still output a signal, even without a power source powering the block

How to reproduce:
1: Create a System that gives the player a constant effect
2: Create a System that removes the constant effect, make the timer for this one a hopper timer
3: Remove the hoppers behind the first comparator
4: Remove everything except 1 character in the Command block
5: You get a powered comparator without commands or power from the Command Block

Attachments

Comments 5

I can't reproduce this. Are you powering the command block?

No, in the first screenshot there is no power source powering the first comparator, try making a system that constantly give the player an effect and do the same with the other except make it remove the effect and use a hopper timer, and after a few seconds remove the hoppers and type in "e" or something in the command block and the comparator should stay on even without a valid command inside the block

Command blocks continue outputting an output until they get a pulse to refresh it regardless of changes made to the command. In a normal environment, command blocks won't be changed between pulses.

But if the first comparator does not have a signal, how is the second comparator still outputting a signal? I also noticed that you don't have to change the command, you can just get rid of the hopper timer and still work

And like Ezekiel said; command blocks don't update their status until they receive a pulse. So until your command block with the command "e" gets a redstone pulse sent to it, it will continue to output that signal.

Ethan Brown

(Unassigned)

Unconfirmed

command_block, redstone

Snapshot 13w25c

Retrieved