Config menus for resource packs https://pages.frohnmeyer-wds.de/JfMods/Respackopts/
Go to file
Johannes Frohnmeyer 84b6588d57
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/jfmod Pipeline was successful Details
chore: clean up events slightly
2024-04-24 20:58:11 +02:00
docs fix: implement basic recursive file dependency tracking for debugLogs 2023-10-05 18:18:04 +02:00
run fix: use correct regex to check for legal strings 2023-08-14 17:27:32 +02:00
src chore: clean up events slightly 2024-04-24 20:58:11 +02:00
.gitignore Save pack configs in the packs directory (SomePack.zip -> SomePack.zip.rpo) if possible, needs testing 2021-11-19 15:16:08 +01:00
.woodpecker.yml Big bran 2022-12-02 16:15:40 +01:00
LICENSE Add files 2020-11-24 22:04:13 +01:00
README.md docs: Start section on performance impact 2023-06-29 14:12:04 +02:00
book.toml [docs] Fix link 2022-12-03 14:02:12 +01:00
build.gradle.kts feat: initial work on 1.20.5 and commons 1.7 port 2024-04-24 19:34:44 +02:00
settings.gradle.kts feat: initial work on 1.20.5 and commons 1.7 port 2024-04-24 19:34:44 +02:00

README.md

Respackopts

PSA: Depending on the version you are downloading, a separate installation of cloth config, or LibJF may be required

Respackopts provides resource and data packs with config menus
By default, it provides a custom system for conditional resources, resource expansion and integrates with frex, canvas and fabulous shaders

Using Respackopts

Users

After installing respackopts, a menu button will appear besides all supported resource packs. No further configuration is needed.

Pack authors

Please head to the wiki for details on how to use respackopts in a pack.

Performance Impact

Performance always depends on factors other than the game itself like disk speed, resource usage by other programs, the OS you are using, etc. These measurements were taken with Minecraft 1.20.1, Fabric Loader 0.14.21, Fabric API 0.84.0, LibJF 3.8.0 and Therefore, please do not assume these measurements to be accurate for all use cases.

LibJF injects hooks into the resource loader, meaning there is additional overhead for every resource access. In practice, this results in a five percent increase in resource reloading time over vanilla and an eight percent increase in game load times over vanilla (.2 seconds).

Respackopts uses those hooks and additional mixins to work, adding additional overhead. In practice, this results in a six percent increase in resource reloading time over vanilla and an eighteen percent increase in game load times over vanilla (.43 seconds).

The most significant increase is measurable during pack scanning, which takes nearly 100 times longer when comparing Minecraft with Respackopts to vanilla. This is because Respackopts performs and caches most parsing and computation during this stage. As the statistic for game loading shows, this is not necessarily noticeable during startup, because the total is still comparably small. It is only noticeable in the resource pack screen, where scanning is performed every 20 ticks and whenever the screen is resized and the impact is much larger. For this reason, I have created a separate mod that tweaks that screen for increased performance.