? Looter's Compass
让寻找 Lootr 模组中的战利品容器变得更加容易。再也不用错过附近的战利品了 :D
? 新增内容

此模组添加了一个名为 Looter's Compass 的新物品。 它会指向距离玩家最近且尚未被打开过的 Lootr 模组中的战利品容器。 默认情况下,其最大搜索半径为水平方向 32 格,垂直方向 16 格(可配置)。 它适用于任何类型的 Lootr 战利品容器(箱子、桶、潜影盒、矿车箱等)。 当玩家在手持状态下右键点击时,当前锁定的战利品容器将会被高亮显示(类似于发光效果的效果),持续数秒。 如果未找到任何容器,则会播放闲置动画。 搜索战利品容器的操作在客户端进行,因此不会对服务器性能造成任何影响。
这是游戏内的实际效果:

⚙️ 配置
客户端 (Client)
客户端配置文件位于 .minecraft/config/looters_compass-client.toml。
包含以下选项:
| 选项 | 描述 | 默认值 |
|---|---|---|
search_frequency |
搜索战利品容器的频率(以刻为单位) | 20 |
通用 (Common)
通用配置文件位于:
| 客户端 | 服务器 |
|---|---|
.minecraft/config/looters_compass-common.toml |
<server_folder>/config/looters_compass-common.toml |
包含以下选项:
| 选项 | 描述 | 默认值 |
|---|---|---|
add_to_centennial_advancement_rewards |
是否在玩家达成 Lootr 的“Centennial”成就(即打开第 100 个战利品容器)时也将 Looter's Compass 作为奖励发放给玩家 | false |
disable_recipe |
是否禁用 Looter's Compass 的合成配方 | false |
服务器 (Server)
服务器配置文件位于:
| 客户端 | 服务器 |
|---|---|
.minecraft/saves/<world_name>/serverconfig/looters_compass-server.toml |
<server_folder>/world/serverconfig/looters_compass-server.toml |
包含以下选项:
| 选项 | 描述 | 默认值 |
|---|---|---|
search_radius_horizontal |
寻找战利品容器的水平搜索半径(以格为单位) | 32 |
search_radius_vertical |
寻找战利品容器的垂直搜索半径(以格为单位) | 16 |
enable_loot_container_glow |
是否启用使用指南针右键点击时使战利品容器发光的特性 | true |
glow_cooldown |
发光功能的冷却时间(以刻为单位,20 刻 = 1 秒) | 300 |
glow_duration |
战利品容器发光持续的时长(以秒为单位) | 5 |
? 整合包制作者提示
我认为通过配置选项或类似 KubeJS 的方式禁用 Looter's Compass 的合成配方,以此鼓励玩家在早期游戏中进行探索,是一个好主意。 随后,你可以添加一个任务,当玩家获得 Lootr 的“Centennial”成就(这需要玩家先打开 100 个战利品容器)时奖励该指南针;或者直接启用配置选项,在该成就达成时自动奖励指南针。
? Looter's Compass
Makes finding loot containers from the Lootr mod easier. No more missing out on nearby loot :D
? What does it add?

This mod adds a new item called the Looter's Compass. It points to the nearest loot containers from the Lootr mod, which has not yet been opened by the player. It has a maximum search radius of 32 blocks horizontally and 16 blocks vertically by default (configurable). It works with any kind of Lootr's loot containers (chests, barrels, shulker boxes, chest minecarts ...). When right-clicking with the Looter's Compass in the player's hands, the currently targeted loot container will be highlighted (like the Glowing effect does it) for a few seconds. If no container is found, an idle animation will be shown. Searching for the loot containers happens on the client-side, which means that server performance will not be hurt in any way.
This is what it looks like ingame:

⚙️ Configuration
Client
The client config file is located in .minecraft/config/looters_compass-client.toml.
It contains the following option:
| Option | Description | Default |
|---|---|---|
search_frequency |
How often to search for loot containers (in ticks) | 20 |
Common
The common config file is located in:
| Client | Server |
|---|---|
.minecraft/config/looters_compass-common.toml |
<server_folder>/config/looters_compass-common.toml |
It contains the following options:
| Option | Description | Default |
|---|---|---|
add_to_centennial_advancement_rewards |
Whether the Looter's Compass should also be rewarded to the player when Lootr's "Centennial" advancement is made (when the player opens the 100th loot container) | false |
disable_recipe |
Whether the crafting recipe for the Looter's Compass should be disabled | false |
Server
The server config file is located in:
| Client | Server |
|---|---|
.minecraft/saves/<world_name>/serverconfig/looters_compass-server.toml |
<server_folder>/world/serverconfig/looters_compass-server.toml |
It contains the following options:
| Option | Description | Default |
|---|---|---|
search_radius_horizontal |
Horizontal search radius for finding loot containers (in blocks) | 32 |
search_radius_vertical |
Vertical search radius for finding loot containers (in blocks) | 16 |
enable_loot_container_glow |
Whether to enable the ability to make loot containers glow when right-clicking with the compass | true |
glow_cooldown |
Cooldown for the glow feature in ticks (20 ticks = 1 second) | 300 |
glow_duration |
Duration for how long loot containers should glow in seconds | 5 |
? Tips for modpack makers
I think it's a good idea to incentivize exploration in the early game by disabling the crafting recipe for the Looter's Compass using the config option or something like KubeJS. You could then include a quest which rewards the compass when the player gets the "Centennial" achievement from Lootr (which requires the player to open 100 loot containers first), or just enable the config option that automatically rewards the compass when this advancement is made.
下载 Looter's Compass
下载 Looter's Compass
下载 Looter's Compass
下载 Looter's Compass
下载 Looter's Compass
下载 Looter's Compass
下载 Looter's Compass
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧