Syric Posted June 1, 2021 Share Posted June 1, 2021 I have a mod that pretty much only loads a data folder. I'd like to introduce a config file that will allow me to load different versions of some of the data files, or not load some at all. Is this possible? How would I go about doing it? Quote Link to comment Share on other sites More sharing options...
LexManos Posted June 1, 2021 Share Posted June 1, 2021 Data packs are config files Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon Link to comment Share on other sites More sharing options...
Syric Posted June 1, 2021 Author Share Posted June 1, 2021 Is there a way to let someone use a .txt file to toggle whether or not certain datapacks are loaded? Quote Link to comment Share on other sites More sharing options...
LexManos Posted June 1, 2021 Share Posted June 1, 2021 I guess they could edit the level.dat... but why would you. Stop trying to work around a system designed to do what you need Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon Link to comment Share on other sites More sharing options...
Syric Posted June 1, 2021 Author Share Posted June 1, 2021 (edited) How is the system designed to do what I need? I'm trying to provide a quick and easy way for my mod's users to modify which data files the mod uses, one more accessible than writing their own datapacks to override my mod's data. Ideally, they'd be able to change a 'false' to a 'true' in a .txt and have my mod load different data files. Has anyone written a way to change loot tables or crafting recipes with a config file? Those solutions might have some applicability to my situation. Edit: to clarify, the data is inside my mod's .jar, so it's not easily accessed and modified by the user. Edited June 1, 2021 by Syric Quote Link to comment Share on other sites More sharing options...
Syric Posted June 1, 2021 Author Share Posted June 1, 2021 I am aware that it can be overridden by a data pack. I would like to allow my users to modify or remove the data in ways more accessible than creating and applying their own data packs. Can I do this with a .txt configuration file? Quote Link to comment Share on other sites More sharing options...
Syric Posted June 1, 2021 Author Share Posted June 1, 2021 That's a shame. I'll provide a datapack on the mod's page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.