Is it possible to optimize similar x y z coordinate lines into one command?
I really don’t know how to word this but I have an image that shows what i mean.
I wanted to create a command list for minecraft to spawn a structure. There exists a program to convert .schematica files into a list of commands that spawn the structures. The outcome is that there are many repetitive commands that could simply be replaced by just a single command that does everything they do but with less lines.
Is there any function in notepad or plugin i can use to do something like this?
You would want to write a program to do this (don’t know if you are capable of this or not).
Non-programming techniques are problematic because there is really no way to verify sequential numbers on successive lines.
It could be done if you didn’t need this verification. In this case one presumes that what comes after the bottom line on the left is something with a different pattern than the four lines shown. Thus the
42in the first line could be “grabbed” and the
45in the fourth line could be grabbed, and the single line could be constructed and replace the set of 4 lines.
Only you know your data, and you’d need a better problem statement for better help.