Open VexSpectre opened 8 years ago
Hi again,
Thanks once again for the neat idea. The problem I see with this is that is the module size as decreased since the last time it was rebuilt, the "calculated" area could not be big enough to clear the correct area.
Additional, if you could enter your preferred "module size" (as I've just commented in issue #14) then you wouldn't have to worry about your neighbouring module being cleared.
I'd like to try the approach in #14 and see how that plays out.
Thanks again for the idea though. I will definitely revisit this if the work in #14 doesn't turn out to be enough.
I'm avoiding the actual char limit using different files, creating individual Smelt contraptions for each module. When I change something in the first module and place it again, it clears the full chunk area, deleting part of the full system that i'm working on.
The file parser should calculate the area that will be occupied by the command blocks to place and clear only that area.
I suggest adding a var that reads the number of lines and then replace the corresponding values on
var clearArea = "fill ~1 ~-1 ~1 ~14 ~10 ~14 air 0";
There can be a layout option (#14) to select the mode of placing the blocks. "clear" should work as its working right now (with the suggestion mentioned above) and add "replace" to only replace the existing blocks without totally deleting them.
EDIT: Spelling. English is not my native, sorry.