mojira.dev
MC-87171

Command Block Order of Operations

I made a small Chain of Command blocks, (I will call this a Program for now).
When I run this program in the layout I built it in, it works. When I try to bend the chain to save space, keeping everything in order, it no longer works and starts looping one of the summon commands. I cannot figure out why. I am attaching photos of the layout of the program, the one that is a straight line is the initial build.
Photos 1-4 are a comparison of the output of running the program in the two configurations.

The Text files are the commands that make up the program in order, and the output of the configurations.

Linked issues

Attachments

Comments 15

If you want to recreate this I can explain how to use the command block program. Or you can test with your own command block program, up to you.

I had also tested this using /say 1, /say 2, etc, in place of all the commands, and it worked as I thought it should. I could move the command blocks orientation with the same order and it would output the proper sequence.
I Had this problem on other creations of mine that I built in a straight line then tried to bend into a smaller design, again keeping the command blocks in order.

You have commands that rely on certain command blocks being in specific positions.

Does fixing the issue Carl Nathans pointed out fix your problem?

No it does not, Those blocks are in place each time I ran the program.

5 more comments

Alright, reopened. Let's have a dev look at.

The condition checking isn't input being passed from 1 command block as input to another. Every command block (regardless of type) performs a check behind it (when conditional). If there is a command block behind it, and that block failed to execute at its previous execution, the current one will not execute.

Shouldn't it be checking the input from the block pointing into it? Not the one sitting behind it, which can be pointing in any direction. Doesn't make sense to me. Not that I am complaining, if this is the way the Devs say this works after seeing this, then that is how it works. I'll work with it.

One way I'd look at it is, multiple command blocks could be executing based on the success of a single block, since the back faces could all be against a single one.

John Dame

(Unassigned)

Unconfirmed

Minecraft 15w34d

Retrieved