Back to mods
LocateMore project artwork

Modrinth · Minecraft mod

LocateMore

Find the N nearest structures, biomes or POIs instead of just the closest. Exact distance order, fully async: the server keeps ticking. Also fixes vanilla /locate not returning the true nearest (MC-138887).

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which LocateMore release should I use?

Updated last month
Latest stable file 1.21.0
Game version 26.3
Loader Fabric

LocateMore 1.21.0 targets 26.3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is LocateMore required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does LocateMore 1.21.0 need?

1.21.0. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by LocateMore 1.21.0
required
Matching file found Matched file: 0.168.0+26.3

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add LocateMore without breaking your instance.

Built for LocateMore 1.21.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.21.0. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.21.0. It opens that exact file at the source.

About this project

What does LocateMore add?

Find the N nearest structures, biomes or POIs instead of just the closest.
Exact distance order. The server keeps ticking.

/locate structure minecraft:mansion 20
/locate biome minecraft:mushroom_fields 3
/locate poi #minecraft:village 5

Vanilla /locate blocks the server thread and returns one result, and that
result is not always the nearest.
LocateMore adds an optional count from 1 to 100 to the vanilla command and
routes vanilla's own nearest-structure search through the same engine, so
plain /locate, eyes of ender, explorer maps and other mods get the true
nearest too, without blocking a tick. Results stream into chat nearest
first, every line teleports on click, and a boss bar shows progress.

Why it is fast

Vanilla spirals outward and re-checks overlapping areas. LocateMore starts
from the seed: the seed determines the only chunks where each structure can
start, and the engine walks exactly those candidates in true distance
order, verifying each with the same checks vanilla uses. Candidates in
ungenerated terrain are usually settled by pure math (the same
generation-point math and weighted set draw generation itself would run,
each earned by a referee before it was trusted, and revoked for the session
if a referee ever disagrees), so no chunks are loaded or generated for
them. The results match vanilla; there are simply more of them, sooner.

Measured (release build, virgin world, seed 20260821, count 20; warm is the
same search again):

structure cold warm
mansion 1.7 s 0.06 s
ancient_city 0.10 s
monument 1.5 s
jungle_pyramid 3.7 s 0.10 s
#village (tag, multi-set) 0.17 s
fortress (Nether, multi-set) 0.04 s

Vanilla in the same world: 10 seconds of blocked ticks for 13 of 20. Every
release is diffed coordinate-for-coordinate against real generation on both
supported versions before it ships (test/run-both.sh).

Biomes and POIs too

/locate biome samples the same grid vanilla does, through the same
climate sampler, but off-thread and in exact distance order (vanilla's
spiral is only approximately nearest). N results are N distinct patches: a
hit within biomeSeparationBlocks (default 512) of an accepted one is
suppressed. Default radius 12800, double vanilla's, since the extra range
is pure math.

/locate poi searches ALL explored terrain instead of vanilla's 256-block
radius, reading the poi storage off-thread, and never pins poi data in
memory the way vanilla's query does. POIs are world state, so unexplored
terrain cannot be searched; in-memory changes not yet on disk are included,
and hits are re-checked against live memory before printing.

API for other mods

LocateMoreApi.findNearest(level, structures, origin, 5).thenAccept(result -> {
    for (LocateMoreApi.StructureHit hit : result.hits()) {
        // hit.pos(), hit.structure(), hit.distance()
    }
});

com.rasmus.locatemore.api is the contract; every other package is
internal. Call on the server thread; the future completes there, hits in
exact distance order, with complete and orderingGuaranteed flags for
budget-cut and unresolved cases. SearchOptions lowers budgets per call,
turns off chunk generation (mathOnly()), and excludes previous hits.

Limitations

  • Plain /locate deliberately returns the true nearest, which vanilla
    sometimes does not (MC-138887). For exact vanilla parity (speedrun
    practice, seed tooling): /gamerule locatemore:exact_locate false, per
    world, live; improveVanillaLocate in config/locatemore.json is the
    server-wide kill switch.
  • Multi-set structures in ungenerated terrain need their candidate chunk
    generated to the first stage, exactly like vanilla locate; each probe
    adds 4 to 12 KB to the save and the summary reports the count.
    Single-set structures never need probes.
  • No search state persists between sessions; a datapack reload aborts
    running searches and clears the session memo. Marks are the deliberate
    exception: they are bookmarks in the player's own data, and never an
    input to a search result.
  • Default bounds: 1,000,000 block radius, 60 s wall clock, 50,000 candidate
    checks, 2 concurrent searches. Partial results say so. All of it lives in
    config/locatemore.json.

Commands

command what
/locate structure <id|#tag> <count> [min_distance] async search, streams the N nearest (optionally at least that far away)
/locate biome <id|#tag> <count> [min_distance] async biome search, N distinct patches
/locate poi <id|#tag> <count> [min_distance] async poi search over all explored terrain
/locate near structure|biome <a> structure|biome <b> [radius] the nearest a with a b within radius (default 512), e.g. a village next to a desert (mixed pairs put the structure first)
/locate mark <name> / /locate marks / /locate unmark <name> save the spot you stand on / list your marks / delete one; every line has the same clickable coordinates and buttons as search results, and dying auto-marks death (deathMark in the config turns that off server-wide)
/locate track <mark|x y z name> live distance + arrow in the action bar, self-clearing
/locate compass <mark|x y z name> named compass pointing at the spot
/locate verify <structure> drift tripwire: shadow parse vs vanilla over 20 chunks
/locate prune delete empty region files (vanilla's scan path still leaves them, MC-311323)
/gamerule locatemore:exact_locate per-world toggle for the vanilla call sites

Operator permission required, same as vanilla /locate. Every subcommand
also exists under /locatemore, and that alias is the one a permissions
mod (LuckPerms etc.) can grant node by node: locatemore.track,
locatemore.compass, locatemore.mark, locatemore.prune,
locatemore.verify, locatemore.near (vanilla's /locate root demands op
level 2 before any subcommand is consulted). Structure tags and all
dimensions work. Vanilla clients on a dedicated server see correct output, because
every line uses vanilla translation keys.

Versions

One jar runs on 26.1.2 and 26.2. Fabric, requires Fabric API. MIT license.
Server-side: installed on a server, vanilla clients get everything; in
singleplayer a client install works.

Project description from Modrinth.

Pick your setup

LocateMore by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

5 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

LocateMore versions and loaders

41 of 41 releases match

Looking for an older file? The official Modrinth project page is in Resources.