90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Packs Entries Blocker is for avoiding identifier matches the regex from loading from specified pack.
Use Case
- Too many mods find their resources from packs will affect the launching time such as GeckoLib, Optifine-like. Profiling it with https://modrinth.com/mod/more-profiling
- Disable some entries needn't in packs like some CITs
How to
- Modify the config at
config/pack-entries-blocker.json
. Will reload before data/resource packs reloading. - Blocked entries will print to
debug.log
for debugging.- How to access
debug.log
?- https://wiki.vg/Debugging
- https://modrinth.com/mod/better-log4j-config and edit it's
better_log4j_config.xml
then
- How to access
Example
Below config will block all the tags from the vanilla pack.
The key is regex and the value is an array of pack name which can be found in options.txt
{
".*?:.*?tag.*?": [
"vanilla"
]
}
Links
Details
Licensed MIT
Published 6 months ago
Updated 3 months ago