您可以通过以下方式支持我:
Recruits QoL 是 Forge 1.20.1 平台上 Recruits 模组的一个附加模组。它添加了各种便利性命令、地图辅助功能、招募兵行为修复、训练支持、坐骑单位改进以及领地管理工具,同时保持原版 Recruits 模组的文件不变。
依赖项
- Minecraft Forge
1.20.1
- Java
17
- 已安装 Recruits 模组
- 服务器和客户端均需安装此附加组件,以启用客户端的地图和命令功能
功能特性
训练瓶
经验瓶现在可用于训练单个招募兵。
向招募兵投掷经验瓶会为该招募兵提供升级进度。默认情况下,32 个经验瓶等于 1 级招募兵等级,这仅影响被击中或距离瓶子落点最近的招募兵。它不会提升附近所有招募兵的等级。
迷失招募兵地图标记
远离主人且主人有一段时间未看到的己方招募兵可能会出现在 Recruits 地图上。当招募兵被视为“迷失”时,其主人在 Recruits 地图上会看到一个铁剑图标,并显示该位置有多少名招募兵聚集在一起。
此功能仅对所有者可见。其他玩家看不到你丢失的招募兵标记;此外,如果服务器重启,直到该招募兵再次渲染之前,标记不会出现。
招募兵水上漂浮
招募兵不再无助地溺死在水中。当招募兵处于水中时,附加组件会帮助使其保持漂浮并刷新氧气供应,从而大大提高其生存几率。
队长行为改进
对队长进行了修复,旨在减少他们无视命令、卡住或未能正确交战的情况。
附加组件帮助队长从无效的 combat/patrol(战斗/巡逻)状态中恢复,并在其处于攻击模式时可以重新锁定敌对实体,尽管仍存在一些 bug。
群组命令
群组训练命令
使用:/recruitsqol train <group_name>
这将使命名组中的所有招募兵进入训练行为:
- 将其设置为中立
- 使其自由游荡
- 当附近有盔甲架时,使其瞄准最近的盔甲架
这对于招募兵攻击盔甲架的训练设置非常有用。
群组骑乘命令
使用:/recruitsqol mount <group_name>
这将使命名组中的招募兵尝试骑乘最近的合法可骑乘实体(例如马匹),前提是他们尚未骑乘。
批量招募命令
使用:/recruitsqol massrecruit <unit_type> <group_name>
支持的兵种类型:
- recruit(步兵)
- bowman(弓箭手)
- crossbowman(弩手)
- shieldman(盾兵)
- horseman(骑兵)
- nomad(游牧者)
示例:/recruitsqol massrecruit bowman Archers
该命令搜索附近未被雇佣的选定类型的可雇佣单位,检查您是否有足够的招募槽位和货币,然后将它们招募到所选的群组中。
该命令使用 Recruits 模组的正常雇佣逻辑和货币系统。
马铠支持
- 如果招募兵的背包中有马铠,并且骑上了一匹没有装备马铠的马,他们将自动为马装备马铠。
- 如果招募兵拥有维护箱,且背包中没有马铠,他们可以从维护箱中提取马铠。
批量扩展领地
Recruits 地图支持在扩展现有领地时选择多个相连的区块。
使用方法:
- 打开 Recruits 地图。
- 按住 Ctrl 键。
- 左击相连的区块以进行选择。
- 有效的区块将显示蓝色轮廓。
- 无效的区块将显示红色轮廓。
- 按 Ctrl + Enter 一次性认领所有选定的区块。
- 按 Esc 清除选择。
服务器在应用请求前会验证领地请求。
验证内容包括:
- 只能扩展与已有领地相连的多个区块。
- 区块必须相互连接。
- 区块必须未被认领。
- 区块对于领地所有者必须是有效的。
- 玩家必须拥有编辑领地的权限。
- 玩家必须足够靠近。
- 领地大小不得超过最大限制。
- 玩家必须有足够的货币。
断开连接的领地清理
- 如果通过移除中间的区块导致领地分裂,断开的领地部分将被自动移除(以防止数据损坏)。
- 包含领地中心的连通部分将被保留。分离出的延伸部分会被删除,以确保领地不会分裂成独立的岛屿。
低矮通道潜行
- 当招募兵被低矮通道阻挡,且潜行可以通过时,他们会自动蹲下。
- 这有助于招募兵穿过诸如石板覆盖的隧道等空间。
配置
配置文件位于服务器端。
-
Training(训练)
-
控制需要多少个经验瓶才能为一名招募兵提升一级。
-
默认值:32
-
范围:1 至 1024
-
Lost Recruits(迷失招募兵)
-
distanceBlocks(距离方块数)
-
招募兵必须离开主人多远才会被视为迷失。
-
默认值:100
-
unseenSeconds(不可见秒数)
-
招募兵必须多久未被看到,才会出现在主人的 Recruits 地图上。
-
默认值:60
-
syncSeconds(同步秒数)
-
服务器重建并发送迷失招募兵标记的频率。
-
默认值:5
-
Mass Recruit(批量招募)
-
控制 /recruitsqol massrecruit 命令的搜索半径。
-
默认值:32
您可以通过以下方式支持我:
You can support me through-
Recruits QoL is an addon mod for the Recruits mod on Forge 1.20.1. It adds quality-of-life commands, map helpers, recruit behavior fixes, training support, mounted unit improvements, and claim management tools while leaving the base Recruits mod files untouched.
Requirements
- Minecraft Forge
1.20.1
- Java
17
- Recruits mod installed
- Server and client should both have this addon installed for client-side map and command features
Features
Training Bottles
Experience bottles can now be used to train individual recruits.
Throwing experience bottles at a recruit gives that recruit progress toward leveling up. By default, 32 XP bottles equal 1 recruit level, this affects only the recruit that is hit or closest to the bottle impact. It does not level all nearby recruits.
Lost Recruit Map Markers
Owned recruits that are far away and have not been seen by their owner for a while can appear on the Recruits map, when recruits are considered lost, their owner sees an iron sword icon on the Recruits map with a number showing how many recruits are grouped at that location.
This is owner-only. Other players do not see your lost recruit markers, also the marker will not appear if the server restarts until that recruit is rendered again.
Recruit Water Floating
Recruits no longer drown helplessly in water, when a recruit is in water, the addon helps keep them afloat and refreshes their air supply so they have a much better chance of surviving.
Captain Behavior Improvements
Captains receive fixes intended to reduce cases where they ignore orders, get stuck, or fail to engage properly.
The addon helps captains recover from invalid combat/patrol states and can retarget hostile entities when they are in aggressive mode, though it still has bugs.
Group Commands
Group Training Command
Use:/recruitsqol train <group_name>
This sends all recruits in the named group into a training behavior:
- Sets them to neutral
- Makes them wander freely
- Makes them target the nearest armor stand when one is nearby
This is useful for training setups where recruits attack armor stands.
Group Mount Command
Use:/recruitsqol mount <group_name>
This makes recruits in the named group attempt to mount the nearest valid mountable entity, such as a horse, if they are not already mounted.
Mass Recruit Command
Use:/recruitsqol massrecruit <unit_type> <group_name>
Supported unit types:
- recruit
- bowman
- crossbowman
- shieldman
- horseman
- nomad
Example:/recruitsqol massrecruit bowman Archers
The command searches nearby unowned hireable units of the selected type, checks that you have enough recruit slots and currency, then recruits them into the chosen group.
The command uses the Recruits mod's normal hiring logic and currency system.
Horse Armor Support
- If a recruit has horse armor in their inventory and mounts a horse without armor, they will automatically equip the horse armor.
- If the recruit has an upkeep chest and does not already have horse armor in their inventory, they can pull horse armor from the upkeep chest.
Bulk Claim Extension
The Recruits map supports selecting multiple connected chunks when extending an existing claim.
How to use:
- Open the Recruits map.
- Hold Ctrl.
- Left-click connected chunks to select them.
- Valid chunks are shown with a blue outline.
- Invalid chunks are shown with a red outline.
- Press Ctrl + Enter to claim all selected chunks at once.
- Press Esc to clear the selection.
The server validates the claim request before applying it.
Validation includes:
- Only multiple chunks connected to already existing claim can be made.
- The chunks must be connected.
- The chunks must be unclaimed.
- The chunks must be valid for the claim owner.
- The player must have permission to edit the claim.
- The player must be close enough.
- The claim must not exceed the max claim size.
- The player must have enough currency.
Disconnected Claim Cleanup
- If a claim is split by removing a chunk from the middle, disconnected claim pieces are automatically removed (to prevent data corruption).
- The connected part containing the claim center is kept. Detached extensions are deleted so claims cannot remain split into separate islands.
Low Passage Sneaking
- Recruits can automatically crouch when they are blocked by a low passage and there is a possible path through by sneaking.
- This helps recruits move through spaces like slab-topped tunnels.
Configuration
The config is server-side.
-
Training
-
Controls how many experience bottles are required to give one recruit level.
-
Default: 32
-
Range: 1 to 1024
-
Lost Recruits
-
distanceBlocks
-
How far a recruit must be from its owner before it can be considered lost.
-
Default: 100
-
unseenSeconds
-
How long the recruit must be unseen before it appears on the owner's Recruits map.
-
Default: 60
-
syncSeconds
-
How often the server rebuilds and sends lost recruit markers.
-
Default: 5
-
Mass Recruit
-
Controls the search radius for /recruitsqol massrecruit.
-
Default: 32
You can support me through-
评论 0
登录后参与评分
还没有评论,来抢沙发吧