Config menus for resource packs https://pages.frohnmeyer-wds.de/JfMods/Respackopts/
Go to file
Johannes Frohnmeyer dcfd363b60
chore: bump meta version
2024-05-18 19:06:53 +02:00
docs chore: bump meta version 2024-05-18 19:06:53 +02:00
run feat: support string entries 2024-05-18 18:54:38 +02:00
src chore: bump meta version 2024-05-18 19:06:53 +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 chore: clean up logging 2024-05-05 14:53:07 +02:00
settings.gradle.kts build: remove unused repos 2024-04-25 10:39:24 +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.