Перейти к содержимому
Mineforgian

Packs Entries Blocker

Block entries in specify pack from loading by path

Загрузки
1K
Подписчики
3
Обновлён
15 августа 2024 г.
Лицензия
MIT

Опубликован 24 апреля 2024 г.

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

  1. Modify the config at config/pack-entries-blocker.json. Will reload before data/resource packs reloading.
  2. Blocked entries will print to debug.log for debugging.

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"
    ]
}

Ченджлог

1.0.0Релиз1.20.6, 1.21, 1.21.1 · 15 августа 2024 г.

:boom: BREAKING CHANGES

  • due to 9cbb77f - add capture (commit by @SettingDust):

    add capture

  • due to 1327a51 - revert the entries & make the map synchronized (commit by @SettingDust):

    revert the entries & make the map synchronized

:sparkles: New Features

  • 9f6c4ff - mainly target 1.20.1 since it's working on 1.21 (commit by @SettingDust)
  • 9cbb77f - add capture (commit by @SettingDust)
  • 91d8178 - load config when init (commit by @SettingDust)
  • 1327a51 - revert the entries & make the map synchronized (commit by @SettingDust)

:bug: Bug Fixes

  • e9bc92f - put the regex into the multimap (commit by @SettingDust)

:wrench: Chores

  • bbf5f4b - fix the source in manifest (commit by @SettingDust)
  • 2143338 - remove capture (commit by @SettingDust)
0.2.0Релиз1.21 · 22 июня 2024 г.

:recycle: Refactors

  • f9ac4e0 - port to 1.21 (commit by @SettingDust)
0.1.1Релиз1.20, 1.20.1 · 25 апреля 2024 г.

:sparkles: New Features

  • 56141d3 - reload at DataPackContents#reload so that will load when creating (commit by @SettingDust)
0.1.0Релиз1.20, 1.20.1 · 24 апреля 2024 г.

:sparkles: New Features

  • 559c599 - first version (commit by @SettingDust)

Комментарии

Загружаем…