Open CebbyS opened 3 years ago
You could have a config option in your mod, and then only register the data pack when that config option is enabled. Is there any benefit to having the datapack itself be optional?
As an example. I've made a mod that customizes log stripping recipes - the possibility to add custom or remove stripping recipes with help of datapacks. And as a default, I want to keep vanilla stripping and give the user the ability to remove this feature when creating a world in a datapack selection screen. So I need a datapack that has been enabled by default and can be removed with a click of a button. This is my example but I am sure that there could be other ones too.
Currently, I have a separate download for the datapack that has to be dragged in when creating the world. And the feature I am talking about would make user life a bit easier. I really like your mod, the way how to generate resources for Minecraft and I would like to use it for my mod too because I want to support other mods and It is a lot easier to generate datapacks than to write them.
Thank you for your understanding!
Yes this seems reasonable i will try to get this working.
in a datapack selection screen. Where is this datapack selection screen?
When creating a new world, you can choose which datapacks to use. There is a button to open that window. And thankyou!
It would be awesome to make datapacks optional, for example, to simplify mods playthrough route, or to disable or enable mods features.