Config menus for resource packs
Go to file
Johannes Frohnmeyer 7b5157f474
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/jfmod Pipeline was successful Details
feat: update to 1.20.2
2023-09-22 19:21:46 +02:00
docs feat: update to 1.20.2 snapshot and implement RespackoptsFS abstraction over resource packs 2023-09-02 12:56:13 +02:00
run fix: use correct regex to check for legal strings 2023-08-14 17:27:32 +02:00
src feat: update to 1.20.2 2023-09-22 19:21:46 +02:00
.gitignore Save pack configs in the packs directory ( -> 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 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: bump deps 2023-09-22 19:19:55 +02:00
settings.gradle.kts Update deps 2022-12-29 16:16:47 +01:00


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


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.