Interchangeable blocks
Dimkar3000 opened this issue ยท 1 comments
The problem
When I use a schematic it is common to use alternative blocks because I changed my mind or because the original schematic isn't mine and I don't know how to edit it.
For example I built an auto tree farm design that I downloaded and I used the wrong fence gate type (birch vs oak). That didn't break the farm but the blocks where highlighted red(wrong block)
Solution
I have 2 solution in mind and either of those would suffice.
Solution 1
In the material list of the schematic there could be and edit button and change the block to the one I want to use
Solution 2
Since the mod already understand wrong block state and it gives you the error in a different color there could be a new error category. By categorizing the blocks in groups like "fences", "doors", etc... I can differentiate from a mistake that I don't care from one that I actually do. Then I can hide that type of error or just ignore it.
More
The above solutions can be combined and implemented independently. Maybe the creator of the schematic could give the list of alternative blocks to use. I am a relative new litematica user so be kind with me....๐
Both solutions are planned and have been on the todo list for a long time already... just haven't had time to work on them yet.
I believe someone else was already working on Solution 1 for their own use or something. For Solution 2 there is a system for "valid substitutes" planned, where the user can create configurations/profiles that define which blocks are interchangeable.
For simply changing the blocks in the schematic, you can currently use the Schematic Rebuild mode to change the blocks. See https://github.com/maruohon/litematica/wiki/schematic_editing for more information about that. It's current state-sensitive so you will need to replace every different state of the same block separately... there will be an easier way later on to just switch the block type (basically like you suggested possibly via the material list).