Better Allay
自定义悦灵区分药水与涂药箭的方式。可选地让悦灵在“生物破坏”(mob griefing)关闭时仍能拾取物品,设置悦灵停留于音符盒的时间,或将其永久绑定到音符盒上。
功能
- 药水和涂药箭分类:选择悦灵如何区分药水变体(普通/喷溅/滞留)和涂药箭,提供 30 种操作模式。
- 将同一药水的每种变体归类在一起,并可选择保持涂药箭独立分开。
- 悦灵可忽略
mobGriefing游戏规则,即使在“生物破坏”关闭时也能拾取物品。 - 设置悦灵喜欢某个音符盒的时长,或让它永远留在该音符盒旁。
- 通过游戏内命令更改设置,无需重启。
命令和 POTION_TYPES 需要模组版本 1.5.0 或更高版本。Fabric 版本需要 Fabric API。
命令
/betterallay- 模组版本/betterallay.HELP- 帮助/betterallay.CONFIG- 显示所有当前设置/betterallay.RELOAD_CONFIG- 重新加载配置文件/betterallay.<SETTING> <value>- 更改某项设置,例如/betterallay.LIKES_NOTEBLOCK_TIME -1
更改设置需要至少 3 级权限等级,专用服务器上也同样适用。你也可以编辑配置文件并运行 /betterallay.RELOAD_CONFIG。
配置
通常位于 %appdata% -> .minecraft -> config -> betterallayconfig.properties
| 设置项 | 默认值 | 范围 | 作用 |
|---|---|---|---|
| Operation_mode | 19 | 1 - 30 | 悦灵区分药水和涂药箭的方式,见下方列表 |
| POTION_TYPES | 1 | -1, 0, 1 | 1: 普通、喷溅和滞留药水分别归类。0: 它们归为一类(例如滞留再生药水与喷溅再生药水归为一类)。-1: 药水归为一类,但涂药箭单独分类 |
| Ignore_mob_griefing | 0 | 0, 1 | 1: 悦灵忽略 mobGriefing 游戏规则。0: 遵循原版行为 |
| Likes_noteblock_time | 30 | 5 - 107374182 | 悦灵喜欢某个音符盒的时长(秒)。-1 表示将悦灵永久绑定到该音符盒 |
操作模式
模式 1 - 4:悦灵仅根据药水效果进行区分。力量药水不同于再生药水,但力量药水等同于力量药水 II。
- 1 = 药水
- 2 = 喷溅药水
- 3 = 滞留药水
- 4 = 涂药箭
模式 5 - 8:悦灵根据药水效果和等级进行区分。力量药水不同于再生药水,且力量药水也不同于力量药水 II。
- 5 = 药水
- 6 = 喷溅药水
- 7 = 滞留药水
- 8 = 涂药箭
模式 9 - 30 将它们组合起来:
| 模式 | 组合 | 模式 | 组合 |
|---|---|---|---|
| 9 | 1 + 2 | 20 | 5 + 6 |
| 10 | 1 + 3 | 21 | 5 + 7 |
| 11 | 1 + 4 | 22 | 5 + 8 |
| 12 | 2 + 3 | 23 | 6 + 7 |
| 13 | 2 + 4 | 24 | 6 + 8 |
| 14 | 3 + 4 | 25 | 7 + 8 |
| 15 | 1 + 2 + 3 | 26 | 5 + 6 + 7 |
| 16 | 2 + 3 + 4 | 27 | 6 + 7 + 8 |
| 17 | 1 + 3 + 4 | 28 | 5 + 7 + 8 |
| 18 | 1 + 2 + 4 | 29 | 5 + 6 + 8 |
| 19 (默认) | 1 + 2 + 3 + 4 | 30 | 5 + 6 + 7 + 8 |
常见问题
我遇到了问题/错误/崩溃/报告/请求,在哪里可以联系你?
请使用我的 Discord 服务器,你可以在此加入 ->
我可以把这个模组放入我的整合包吗?
可以,但不要将模组重新上传/分发并声称是你的作品,同时需给予适当署名。
这个模组支持服务器吗?
支持。
玩家能否利用这个模组在服务器上造成破坏?
绝对不行。该模组必须在服务端安装才能生效。
Better Allay
Customize how allays differentiate potions and tipped arrows apart. Optionally make allays pick up items even when mob griefing is off, set how long an allay stays at a noteblock, or bind it to the noteblock permanently.
Features
- Potion and tipped arrow sorting: choose how allays differentiate potion variants (normal / splash / lingering) and tipped arrows apart, with 30 operation modes.
- Sort every variant of the same potion together, and optionally keep tipped arrows separate.
- Allays can ignore the mobGriefing gamerule, so they still pick up items when mob griefing is off.
- Set how long an allay likes a noteblock, or make it stay with the noteblock forever.
- Change settings in game with commands, no restart needed.
Commands and POTION_TYPES need mod version 1.5.0 or newer. The Fabric versions need Fabric API.
Commands
/betterallay- mod version/betterallay.HELP- help/betterallay.CONFIG- shows all current settings/betterallay.RELOAD_CONFIG- reloads the config file/betterallay.<SETTING> <value>- changes one setting, for example/betterallay.LIKES_NOTEBLOCK_TIME -1
Changing a setting needs operator level 3, on a dedicated server too. You can also edit the config file and run /betterallay.RELOAD_CONFIG.
Config
Usually (%appdata% -> .minecraft -> config -> betterallayconfig.properties)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Operation_mode | 19 | 1 - 30 | How allays tell potions and tipped arrows apart, see the list below |
| POTION_TYPES | 1 | -1, 0, 1 | 1: normal, splash and lingering potions are sorted separately. 0: they are sorted together (lingering potion of regeneration goes with splash potion of regeneration). -1: potions are sorted together, but tipped arrows separately |
| Ignore_mob_griefing | 0 | 0, 1 | 1: allays ignore the mobGriefing gamerule. 0: they follow it like vanilla |
| Likes_noteblock_time | 30 | 5 - 107374182 | How long an allay likes a noteblock, in seconds. -1 binds the allay to the noteblock permanently |
Operation modes
Modes 1 - 4: allays see the difference in potion effect only. Potion of Strength is not the same as Potion of Regeneration, but Potion of Strength is the same as Potion of Strength II.
- 1 = potions
- 2 = splash potions
- 3 = lingering potions
- 4 = tipped arrows
Modes 5 - 8: allays see the difference in potion effect and level. Potion of Strength is not the same as Potion of Regeneration, and Potion of Strength is not the same as Potion of Strength II.
- 5 = potions
- 6 = splash potions
- 7 = lingering potions
- 8 = tipped arrows
Modes 9 - 30 combine them:
| Mode | Combines | Mode | Combines |
|---|---|---|---|
| 9 | 1 + 2 | 20 | 5 + 6 |
| 10 | 1 + 3 | 21 | 5 + 7 |
| 11 | 1 + 4 | 22 | 5 + 8 |
| 12 | 2 + 3 | 23 | 6 + 7 |
| 13 | 2 + 4 | 24 | 6 + 8 |
| 14 | 3 + 4 | 25 | 7 + 8 |
| 15 | 1 + 2 + 3 | 26 | 5 + 6 + 7 |
| 16 | 2 + 3 + 4 | 27 | 6 + 7 + 8 |
| 17 | 1 + 3 + 4 | 28 | 5 + 7 + 8 |
| 18 | 1 + 2 + 4 | 29 | 5 + 6 + 8 |
| 19 (default) | 1 + 2 + 3 + 4 | 30 | 5 + 6 + 7 + 8 |
FAQ
I have an issue / bug / crash / report / request, where can I contact you about it ?
Use my Discord server, you can join it here ->
Can I put this mod into my modpack ?
Yes you can, but without reuploading/redistributing the mod as yours and giving credit where credit is due.
Does this mod support servers ?
Yes it does.
Can players use this mod to grief on servers ?
Absolutely not. This mod is required on server itself to work.
下载 Better Allay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Allay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Allay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Allay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Allay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Allay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Allay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Allay
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Better Allay
下载 Better Allay
建议在更新任何内容之前,始终备份你的世界。
免责声明:由于我无法测试所有模组加载器与所有 Minecraft 版本,因此大部分代码是从 NeoForge 最新版本复制粘贴并修复以通过编译的,未经过游戏内测试。如果遇到 Bug,请在下方的 Discord 中报告,谢谢。
请将问题反馈至我的 Discord:
1.6.0
-
新增 Minecraft 26.3(Fabric、Forge 和 NeoForge)
-
统一各版本和模组加载器的功能(主要是药水类型和命令)
-
命令现在会拒绝超出允许范围的数值
-
Fabric 版本现在需要 Fabric API(命令依赖它)
-
修复:
-
悦灵在离开唱片机后或唱片机被破坏后,会永远跳舞
-
当悦灵比较没有基础药水的药水或 tipped arrows(自定义药水、/give 命令生成的药水)时,服务器崩溃
-
Minecraft 1.21.1 及更高版本中的 Operation_modes 问题
-
Ignore_mob_griefing 在 Minecraft 1.19.2、1.19.4、1.21.11 和 26.x 中无效
-
在 Minecraft 1.20.1 及更早版本中,POTION_TYPES 1 仍将普通药水与溅射型和滞留型药水归为一类
-
在 Operation_mode 1 - 4 和 9 - 19 中,悦灵从未拾取模组药水;在 1.21.1 中,还无法拾取风附魔、编织、黏液和寄生药水
-
在 Minecraft 1.20.1 中,悦灵不会随时间恢复生命值
-
NeoForge 1.21.1 及更高版本,以及 Forge(和 NeoForge 1.20.1)专用服务器上缺少命令
-
配置文件中缺少等号的行会导致其下方所有设置回退到默认值
-
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧