Skip to content
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

Add cache directory API #906

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

LostLuma
Copy link

Adds a standardized cache directory API for mods (and loader) to use.

I'd like to see Fabric Loader (and hopefully also mods) adopt the usage of a standardized cache directory to remove clutter of temporary files mixed with regular game and config files, as well as allowing modpack tooling to ignore these files across the board.

Previously I've added a similar feature to Quilt Loader which has been adopted by some mods, and have contributed to Prism Launcher to ignore this folder when exporting instances or modpacks, which I believe especially helps new modpack creators decide which files they should and shouldn't include in their pack.

Copy link
Member

@modmuss50 modmuss50 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable, I'm quite wary about moving .fabric, as its used by a few other things such as the installer.

I would expect modpack tools to just ingore all .*/, so having .fabric and .cache doesnt seem the end of the world. If it is just move .cache to .fabric/cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants