This is a simple Fabric mod, that allows you to quickly change enabled/disabled resource packs and shaders on/off status (if Iris is installed).
/resourcepreset save <preset_name>- saves currently used resource packs and shader status, under the name of<preset_name>/resourcepreset delete <preset_name>- deletes a preset
The below "star" button appears in: pause screen, server selection list, new game screen
This is how a list of presets can look like, after populating it with presets:
- drop the .jar file into your mods folder.
- run the game, enable/disable the resource packs to prepare the combination you want to save as a preset
- run the
/resourcepresets save <some_name_here>, for example:/resourcepresets save Vanilla with some tweaks - you will find your preset on the list, when you press the "star" icon on the pause screen
Run gradle build, with Java 17 or above
This template is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.

