Replace Lua scripts with data generators
SquidDev opened this issue ยท 1 comments
We've currently got a couple of bodged together scripts to generate JSON recipes and advancements. It might be nice to convert these to use 1.14's data generators. McJty has a tutorial on doing this, which should be helpful.
It might be worth seeing if we can similarly convert some models and block states to use these. I don't want to convert all JSONs to use that as that just shifts complexity rather than removes it, but it'd definitely be worth migrating the more repetitive ones.
I've done some work in the above commit. I think it might be worth porting over some recipes too. It won't be any shorter, but we do get advancement generation for free.
Having had a look at model/blockstate generation, I don't think we have any blocks which are worth automating at this time. Monitors and computers would be possible, but probably more work than is worth it.