
Async Locator - Asynchronous Structure Search
This modification transforms the standard game object search mechanism into asynchronous operation mode, which significantly reduces server load and prevents lags.
Currently, the mod supports the following functions:
- /locate command when executed by a player
- Explorer map trade offers from village residents
- Treasure hunting by dolphins
- Exploration maps in chests (starting from version 1.1.0)
It's important to note that the mod only needs to be installed on the server side! Clients only need to install it for single-player gameplay.
It should be considered that this modification works exclusively with vanilla functions (see list above). Other mods must independently integrate support for Async Locator to use the asynchronous functionality.
Compatibility Issues
Modifications that alter the standard structure search mechanism may conflict with Async Locator's operation.
Known potential conflicts:
- Structure Essentials
Upon startup, only one of the mods may work - either Async Locator's improvements or Structure Essentials. No serious problems occur, but only one of these mods needs to be installed.
Integration with Other Mods
Developers of other modifications can use Async Locator as a dependency to implement asynchronous search into their code. For this, it's recommended to use CurseMaven or Modrinth Maven to add the mod to the build.gradle file, after which you can work with the AsyncLocator class and corresponding logic classes.