So I am making a project using the mod patchouli, which allows the modder to quickly make a guidebook with json script. I made a test bool and it didn't show up in game. I tried again and it still did not show up. This time I opened the assets folder while I run the client, and it seems like mcreator overwrites the assets folder every time, deleting extra folders/files. So I locked base mod files, but the same thing still happened. I kindly request Pylo to add a option to lock mod assets folder or even better, not overwrite it at all.
Thank you for reading my long block of text. I hope you will consider my suggestion.
Issue comments
Due to the way our generator works this is not possible. What is possible is that we add new folder <workspace dir>/assets and make it so that assets from this folder are copied into assets folder of the mods upon build.
I take this back, I have found a way to sync files without having to delete them so now only folders synced from textures and sounds folder will be deleted, but all other custom files will be kept.
I remember this was the main issue when I was trying to add Patchouli support to RaolCraft back in 2018...
I remember I found a workaround by simply adding the Patchouli files after exporting the mod, but opening the book still made the game crash... Somehow XD
Time goes fast...
Due to the way our generator works this is not possible. What is possible is that we add new folder <workspace dir>/assets and make it so that assets from this folder are copied into assets folder of the mods upon build.