
Async Locator Refined
Changes the searching of features to be asynchronous to mitigate associated lag. Maintained version
Список изменений
First stable version of the mod
- Many improvements added
All Changes
- Delete unnecesary code (i forgot to delete it before commit the port) Commit
- Improvements and fixes:
- EnderEyeItemLogic.java: If for some reason the eye of ender is removed/unloaded before processing locateAsync results, it will skip the update. Commit
- ExplorationMapFunctionLogic.java: Added a maximum of 3MB of cache saved to MAP_NAME_CACHE, cache entries still expire after 5 minutes. Commit
- DolphinSwimToTreasureGoalMixin.java: Added priority = 800 to not break other mods. Simplified return in redirectGetTreasurePos method. Commit
- CommonLogic.java: Better and efficient way for cleanup map data. Commit
- ExplorationMapFunctionMixin.java: Use the new way to cleanup map data. Commit
- LocateCommandMixin.java: Now commands blocks and functions can use the async function in /locate command. Returns succesful value (1). Commit
- AsyncLocator.java: Executor is lazily initialized if locate is called before setup. Changed LOCATING_EXECUTOR_SERVICE to be volatile. Now AtomicInteger POOL_COUNTER only name executor pools. Increased shutdown time from 2 to 5 seconds for safer termination. Commit
- Stupid things added:
Файлы
async-locator-refined-fabric-1.21.1-1.4.1.jar(275.44 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.4.1
Загрузчики
fabric
Версии игры
1.21.1
Загрузок
53
Дата публикации
August 22, 2025 at 2:07 PM
Загрузил
Alvaro842DEV