-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SUGGESTION] Add a way to *enable* but not *force-enable* packs #33
Comments
Half of that seems to be the Whichever way it defaults I donʼt know how Iʼd make it default the other way, but even just force enabled/not force enabled would be useful. |
You do not need the mod to do this. If you truely want to do manually then do this. Download the data pack. It should be a .zip file or directory. |
@CharZinta Yes, of course you can move the files around manually. The point of OpenLoader is to do this automatically, especially for modpacks which can not distribute automatically enabled packs or users who want to install packs globally across multiple worlds like they do with mods. |
This addresses the feature requests of #33
@dhouck Apologies for not replying to your feedback sooner. We had features similar to these on older versions, however they were defined in the pack.mcmeta file. This caused several issues as this file can't always be modified by the user. Mojang also changed how the pack.mcmeta file is read, requiring us to know these options before the file is read leading to a circular dependency in the logic. I've spent the last few hours looking into how this could be re-implement and I think I've come up with a decent solution. I've already released this for 1.20.4 and will backport it to 1.20.2 soon. The 1.20.4 update is version 22.0.3. Packs can now be configured using a The
And here is a json file with all of the default values. {
"enabled": true,
"required": true,
"position": "top",
"pack_name": null,
"description": null,
"description_includes_source": true
} |
I canʼt test right now, will look into it later today, but it looks like this has “required” control both whether it can be removed and whether it starts enabled. Is there a way to make something optional but default enabled? |
Minecraft Version
1.20.2
Mod Loader
Quilt
Feedback
Sometimes I want a pack to be available but not required. This is more common with resource packs, where I might want a pack enabled by default but not required, but there are some cases where I might want to disable normally-enabled datapacks too.
There should be three different options for a pack: required, optional but default to enabled, and optional but default to disabled.
The text was updated successfully, but these errors were encountered: