Posted June 1, 20214 yr 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?
June 1, 20214 yr Data packs are config files I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
June 1, 20214 yr Author Is there a way to let someone use a .txt file to toggle whether or not certain datapacks are loaded?
June 1, 20214 yr 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 I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
June 1, 20214 yr Author 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, 20214 yr by Syric
June 1, 20214 yr Author 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?
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.