Главная › Моды › Оптимизация › Async Pack Scan

Async Pack Scan

Async Pack Scan

Speeds up the resource pack organizer screen

Async Pack Scan — мод для Minecraft 1.20–26.3 из категории «Оптимизация» для загрузчиков Fabric. Автор: JFronny. В Lorix можно добавить мод в сборку — нужные зависимости подтянутся автоматически — и скачать её одним ZIP с папкой mods/ или запустить в Lorix Launcher одной кнопкой.

Категория
Оптимизация
Загрузчики
Fabric
Версии Minecraft
26.3, 26.2, 26.1.2, 26.1.1, 26.1, 1.21.11, 1.21.10, 1.21.9, 1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.5, 1.20.4, 1.20.2, 1.20
Скачиваний на Modrinth
1 599 771

Зависимости

Описание

Note

This mod no longer seems to be required as of MC 1.20.5.

Nonetheless, interactions between mods might still cause an issue, so I will keep updating it for the time being.

If you experience no lag spikes, you can safely remove this mod.

Original Description

In vanilla minecraft, the list of resource packs is refreshed by scanning all possible sources synchronously.

Generally, this is not a problem, but in the resource pack organizer screen, this scan is performed whenever it is resized and every twenty ticks.

If another mod (such as Respackopts) hooks into the pack scan and increases its duration even slightly, this leads to major lag spikes and makes the screen near-unusable when using more than a few packs.

This mod fixes that issue by moving this computation to another thread and scheduling a scan task on those events instead, drastically improving perceived performance.

Since the vanilla code is designed for synchronous execution, this can cause issues like crashes in edge cases, but worked well enough in my testing.

Как установить Async Pack Scan

  1. Скачайте Lorix Launcher и создайте сборку с нужной версией и загрузчиком.
  2. Найдите Async Pack Scan в окне модов — зависимости добавятся сами.
  3. Нажмите «Играть».

Или соберите модпак в конструкторе и скачайте ZIP: папку mods/ из архива положите в .minecraft.