Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Commands should be created in the order that they are entered #91
So, for some reason I created Smelt to build the output command blocks in the reverse order to how they are entered into the MCC file.
This was intentional, but for reasons that turned out to be... wrong! Let's just say that.
So, I will update Smelt to change this. This will be breaking change, because if anyone has implemented 'startup' auto impulse commands that need to be run in a specific order, they may have had to reverse them in their MCC files.
Because this is a breaking change, I will implement the change using a config entry. The default behaviour will be the existing one, and then in the next major release the proper order will become the default behaviour.
The config setting will be
added a commit
Apr 14, 2017
I have to re-open this.
Well, it appears that I was right. There was a very good reason the command blocks are created in reverse order.
Impulse-Chains don't work when command blocks are created in the order in which they are written.
The impulse command at the start of the chain runs BEFORE the chains exist.