Storage Finder
Storage Finder 是一款客户端侧的 Fabric 模组,可帮助你定位附近容器中的物品。
它会记住你之前打开过的容器的内容,并将这些信息与可见的物品展示框结合,高亮显示所有匹配的存储方块,并计算通往最多三个最近可达目标的安全地面路径。
无需安装服务端组件。
功能特性
- 搜索箱子、带锁箱子、桶以及放置的潜影盒。
- 将可见的物品展示框作为额外的搜索源。
- 支持通过手持物品或其本地化名称进行搜索。
- 同时运行多个不同颜色编码的搜索任务。
- 高亮显示所有匹配的存储方块。
- 在紧凑的 HUD 面板中显示活跃搜索、物品图标、匹配数量以及路径状态。
- 构建通往最多三个附近可达目标的安全地面路径。
- 可将搜索半径配置为 1 到 8 个区块。
- 本地存储容器信息并自动备份。
- 通过 Mod Menu 配置模组设置。
末影箱(Ender Chest)被有意排除在索引和搜索结果之外。
使用手持物品搜索
- 在主手中持有你要查找的物品。
- 按下 Storage Finder 的搜索键。
- 再次按下该键且保持相同物品在手,即可移除该搜索。
默认搜索键为 右 Alt。你可以在标准的 Minecraft 控制菜单中更改此按键。
不同的手持物品可以添加为同时进行的搜索。每个活跃查询都会获得单独的高亮颜色。
按名称搜索
- 清空主手。
- 按下 Storage Finder 的搜索键。
- 输入物品的本地化名称。
- 使用鼠标或键盘选择一个建议项。
目录遵循 Minecraft 当前选择的语言。
活跃搜索会显示在目录顶部,并可单独移除。还有一个单独的按钮可清除所有活跃搜索。
容器索引
Minecraft 客户端无法检查任意关闭状态的容器。Storage Finder 仅在你至少打开过一次某个容器后,才能对该容器进行搜索。
模组仅索引存储库存。玩家背包中的物品永远不会被包含在内。
容器快照会在以下情况更新:
- 当容器首次被打开时;
- 当容器在打开状态下其内容发生变化时;
- 在容器界面关闭前;
- 当世界发生变化时;
- 当客户端停止运行时。
双箱被视为一个逻辑容器进行存储,但在世界中两个物理部分都会被高亮显示。
物品匹配
常规物品按其基础注册类型进行匹配。
以下属性会被忽略:
- 自定义名称;
- 耐久度;
- 普通附魔;
- 其他栈特定组件。
例如,搜索钻石镐将会匹配任何耐久度、名称或附魔的钻石镐。
附魔书的处理方式有所不同。每种已存储的附魔都被视为独立的搜索标识符,而附魔等级和自定义书名则被忽略。
物品展示框
可见的物品展示框可作为其后方存储方块的标签。
物品展示框的结果会与记忆的容器内容合并。当前的观察结果优先于较早保存的信息。
仅搜索客户端已加载区块中的物品展示框和容器。
高亮显示与 HUD
每个匹配的存储方块都会获得彩色轮廓。
HUD 面板显示以下内容:
- 物品图标;
- 物品本地化名称;
- 查询颜色;
- 匹配的存储方块数量;
- 路径计算状态;
- 可用路径的数量。
打开匹配的容器会自动移除仅由该容器满足的搜索。无关搜索仍将保持活跃。
安全路径
Storage Finder 使用增量多目标 A* 寻路算法,而不是仅仅绘制一条直达目标的直线。
路径考虑了以下因素:
- 墙壁和方块碰撞形状;
- 玩家的完整包围盒;
- 台阶、楼梯、地毯和雪层;
- 高度变化;
- 目标旁边的可达位置;
- 双箱的两个部分。
当启用危险规避时,路径还会避开流体、火焰、仙人掌、岩浆块、细雪和其他不安全表面。
寻路在游戏刻之间以增量方式运行,以减少复杂搜索期间的帧率卡顿。计算出的路径会被缓存、验证并定期刷新。
路由设计用于正常的地面移动。它不会规划:
- 开门;
- 游泳;
- 飞行;
- 攀爬梯子;
- 复杂的跑酷跳跃。
如果无法计算有效路径,困难的目标可能仍会保持高亮显示。
搜索半径
搜索半径可配置为 1 到 8 个区块。
最大范围是严格的水平欧几里得半径 128 格。
模组绝不会为了搜索、高亮显示或路径计算而强制加载区块。
Storage Finder
Storage Finder is a client-side Fabric mod that helps you locate items stored in nearby containers.
It remembers the contents of containers you have previously opened, combines that information with visible item frames, highlights every matching storage block, and calculates safe ground routes to up to three of the nearest reachable targets.
No server-side installation is required.
Features
- Search chests, trapped chests, barrels, and placed shulker boxes.
- Use visible item frames as an additional search source.
- Search with an item in your hand or by its localized name.
- Run multiple color-coded searches simultaneously.
- Highlight every matching storage block.
- Display active searches, item icons, match counts, and route status in a compact HUD panel.
- Build safe ground routes to up to three nearby reachable targets.
- Configure the search radius from 1 to 8 chunks.
- Store container information locally with automatic backups.
- Configure the mod through Mod Menu.
Ender Chests are intentionally excluded from indexing and search results.
Searching with a held item
- Hold the item you want to find in your main hand.
- Press the Storage Finder search key.
- Press the key again with the same item to remove that search.
The default search key is Right Alt. It can be changed in the standard Minecraft Controls menu.
Different held items can be added as simultaneous searches. Each active query receives a separate highlight color.
Searching by name
- Empty your main hand.
- Press the Storage Finder search key.
- Type the localized item name.
- Select a suggestion with the mouse or keyboard.
The catalog follows the language currently selected in Minecraft.
Active searches appear at the top of the catalog and can be removed individually. A separate button clears every active search.
Container indexing
Minecraft clients cannot inspect arbitrary closed containers. Storage Finder can search a container after you have opened it at least once.
The mod indexes only the storage inventory. Items in the player's inventory are never included.
Container snapshots are updated:
- when a container is opened for the first time;
- when its contents change while open;
- before the container screen closes;
- when the world changes;
- when the client stops.
Double chests are stored as one logical container, while both physical halves are highlighted in the world.
Item matching
Regular items are matched by their base registry type.
The following properties are ignored:
- custom names;
- durability;
- regular enchantments;
- other stack-specific components.
For example, searching for a diamond pickaxe will match diamond pickaxes with any durability, name, or enchantments.
Enchanted books are handled separately. Each stored enchantment is indexed as an individual search identity, while enchantment levels and custom book names are ignored.
Item frames
Visible item frames can act as labels for the storage block behind them.
Item-frame results are combined with remembered container contents. Current observations take priority over older saved information.
Only item frames and containers in chunks already loaded by the client are searched.
Highlights and HUD
Every matching storage block receives a colored outline.
The HUD panel displays:
- the item icon;
- localized item name;
- query color;
- number of matching storage blocks;
- route calculation status;
- number of available routes.
Opening a matching container automatically removes only the searches satisfied by that container. Unrelated searches remain active.
Safe routes
Storage Finder uses incremental multi-goal A* pathfinding instead of drawing only a straight line to the target.
Routes account for:
- walls and block collision shapes;
- the player's full bounding box;
- slabs, stairs, carpets, and snow layers;
- elevation changes;
- reachable positions beside the target;
- both halves of a double chest.
When hazard avoidance is enabled, routes also avoid fluids, fire, cactus, magma blocks, powder snow, and other unsafe surfaces.
Pathfinding runs incrementally across game ticks to reduce frame stalls during complex searches. Calculated paths are cached, validated, and periodically refreshed.
Routing is designed for normal ground movement. It does not plan:
- opening doors;
- swimming;
- flying;
- climbing ladders;
- complex parkour jumps.
A difficult target may remain highlighted even if no valid route can be calculated.
Search radius
The search radius can be configured from 1 to 8 chunks.
The maximum range is a strict horizontal Euclidean radius of 128 blocks.
The mod never forces chunks to load for searching, highlighting, or routing.
评论 0
登录后参与评分
还没有评论,来抢沙发吧