Locate Fixer
Locate Fixer 是一款针对 NeoForge 1.21.1 的轻量级生活便利模组,旨在让 Minecraft 的 /locate、/locate biome 和 /tp 命令对玩家、工作人员以及整合包制作者更加可靠。即使在原版游戏已经放弃搜索的情况下,该模组仍会继续搜寻,并将进度实时回传至聊天栏;在繁忙的服务器上,它还能确保传送至搜索结果位置时的安全性。此外,在 2.1.1+ 版本中,当在山丘生物群系或洞穴生物群系进行传送时,你不再会被卡在方块里(请留意岩浆风险)。如果你确实被卡住了,请提交问题报告。 CurseForge 会优先更新,随后是我能更新的 Modrinth。
亮点
- 递增的搜索半径。 定位环从 6,400 格逐步扩大至 256,000 格,使得遥远的结构和模组生物群系真正可以被发现。
- 异步定位工作线程。 扫描任务在后台线程池中运行,同时主服务器线程保持响应并允许玩家继续移动。
- 智能缓存。 最近找到的结构和生物群系会被缓存,并立即用于附近的请求,从而节省重复扫描的时间。
- 更安全的传送。
/tp 传送至定位结果时会预加载目标区块,显示 5 秒倒计时,并在一切准备就绪后才移动玩家。此外,它使用光线追踪来寻找放置你的位置,以免你卡在方块之间。
- 蓝图辅助工具。
/locate schematic <name> 挂钩到 WorldEdit 的 config/worldedit/schematics 文件夹,方便重新访问自定义建筑。
配置
Locate Fixer 可通过生成的 config/locatefixer-server.toml 文件进行配置。
locate.locateRings — 按顺序排列的搜索区块半径列表。你可以缩小或扩大搜索上限以适应你的世界大小。
locate.locateThreadCount — 处理结构和生物群系扫描的异步工作线程数量(1–8)。
locate.cacheDurationMinutes — 定位结果在过期前保持缓存的时间(分钟)。
locate.cacheChunkGranularity — 缓存结果在原请求周围可被重用的范围广度。
locate.biomeSampleRadiusMultiplier & locate.biomeSampleStepMultiplier — 调整生物群系采样的密度,以实现更快或更精确的生物群系扫描。
locate.enableNearestCommand — 启用 /locate nearest structure|biome <count> 命令。
poi.poiSearchRadius — 扫描兴趣点时使用的最大半径。
用法
- 在服务器上安装 Locate Fixer(在客户端上可选但推荐,以确保聊天消息一致)。
- 像往常一样运行
/locate 或 /locate biome。进度消息会显示当前正在扫描哪个半径。
- 随后可立即使用
/tp;模组会预加载目标区域,并在区块加载完成后安全地传送你。
- 将
.schem 文件放入 config/worldedit/schematics/ 目录,即可通过 /locate schematic <name> 发现它们。
- 仅限开发者:你可以添加由非数据包生成的自定义结构,并通过我们的 API 将其注册到定位命令中。请查看源代码以获取 API 文档。
兼容性
- NeoForge 1.21.1
- 无硬性依赖
- 设计为与优化模组及结构/世界生成内容包共存
无论你是想寻找某个稀有的生物群系、确认某个结构的生成,还是在模组服务器上引导新玩家,Locate Fixer 都能让定位工作流程快速、信息丰富且全程安全。
Locate Fixer
Locate Fixer is a lightweight quality-of-life mod for NeoForge 1.21.1 that makes Minecraft's /locate, /locate biome, and /tp commands reliable for players, staff, and pack makers. The mod keeps searching long after vanilla would give up, streams progress back to chat, and makes teleporting to the result safe even on busy servers also on versions 2.1.1+ when telaporting in a hill biome or cave biome you should not get stuck in blocks anymore just be careful of lava if you do get stuck please make a issue report. curseforge gets updated first then follows modrnith when I can.
Highlights
- Escalating search radii. Locate rings climb from 6,400 blocks up to 256,000 blocks, so far-flung structures and modded biomes are actually discoverable.
- Async locate workers. Scans run in a background thread pool while the main server thread stays responsive and keeps players moving.
- Smart caching. Recently found structures and biomes are cached and instantly reused for nearby requests, saving repeated scans.
- Safer teleports.
/tp to a locate result preloads the destination chunks, shows a 5‑second countdown, and only moves the player once everything is ready. also it uses raytracing to find a place to put you so you don't get stuck between blocks.
- Schematic helpers.
/locate schematic <name> hooks into the WorldEdit config/worldedit/schematics folder so custom builds are easy to revisit.
Configuration
Locate Fixer is configurable through the generated config/locatefixer-server.toml file.
locate.locateRings — Ordered list of block radii to search. You can shrink or expand the search ceiling to fit your world size.
locate.locateThreadCount — Number of async worker threads (1–8) that handle structure and biome scans.
locate.cacheDurationMinutes — How long locate results stay cached before expiring.
locate.cacheChunkGranularity — How broadly cached results can be reused around the original request.
locate.biomeSampleRadiusMultiplier & locate.biomeSampleStepMultiplier — Tune biome sampling density for faster or more precise biome scans.
locate.enableNearestCommand — Enables /locate nearest structure|biome <count>.
poi.poiSearchRadius — Maximum radius used when scanning for points of interest.
Usage
- Install Locate Fixer on the server (optional but recommended on clients for consistent chat messages).
- Run
/locate or /locate biome as usual. Progress messages show which radius is currently scanning.
- Use
/tp immediately after; the mod preloads the target area and teleports you safely once it’s chunk-loaded.
- Drop
.schem files into config/worldedit/schematics/ to make them discoverable via /locate schematic <name>.
- DEV only you can add your own structure thats generated not by datapacks and register it to the locate command using our api check the source code for api docs
Compatibility
- NeoForge 1.21.1
- No hard dependencies
- Designed to coexist with optimization mods and structure/worldgen content packs
Whether you're hunting a single rare biome, confirming a structure generated, or guiding new players across a modded server, Locate Fixer keeps the locate workflow fast, chatty, and safe from start to finish.
评论 0
登录后参与评分
还没有评论,来抢沙发吧