Jump to content

Toggling Data Loading with Config


Syric

Recommended Posts

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?

Link to comment
Share on other sites

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 by Syric
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.