Crossbow-Enchants 多加载器版(NeoForge/Forge)
原版(Fabric)链接
本模组是原模组的分支版本,增加了对 NeoForge 和 Forge 的支持。如需 Fabric 版本,请参阅原版模组。
Crossbow Enchants
Crossbow Enchants 是一款可自定义的服务器端或客户端模组,通过允许在弩上使用仅属于弓的附魔来增强弩的使用体验。
此外,Crossbow Enchants 还支持使无限(Infinity)和经验修补(Mending)附魔在弩和弓上兼容,使穿透(Piercing)和多发(Multishot)附魔在弩上兼容,并使掠夺(Looting)附魔在弓和弩上均兼容。
虽然 Crossbow Enchants 最初设计为仅在服务器端运行,但在单人游戏中也能完美运行。如果你计划在服务器端运行此模组,玩家无需在客户端安装该模组。
命令
使用以下命令可以自定义模组的功能,请注意,玩家在服务器上必须拥有操作员权限才能使用这些命令:
/crossbowenchants [disable/enable] - 用于切换模组全局功能的命令。
/crossbowenchants enchantments [disable/enable] [enchantment] - 禁用或启用特定的附魔。
/crossbowenchants features [disable/enable] [feature] - 禁用或启用特定功能,功能包括“无限与经验修补”(Infinity-And-Mending)以及“穿透与多发”(Piercing-And-Multishot)。
/crossbowenchants info - 此命令向玩家输出当前模组的设置信息。
/crossbowenchants reset - 此命令将设置重置为默认值,默认情况下所有附魔和功能均已启用。
配置
你也可以直接从其配置文件自定义模组,配置文件位于 .\config\crossbowenchants.toml。
以下是配置文件的默认内容:
# 用于切换 Crossbow Enchants 全局功能的开关。
Enabled = true
# 用于切换火焰(Flame)附魔在弩上功能的开关。
FlameEnabled = true
# 用于切换无限(Infinity)附魔在弩上功能的开关。
InfinityEnabled = true
# 用于切换掠夺(Looting)附魔在弩和弓上功能的开关。
LootingEnabled = true
# 用于切换力量(Power)附魔在弩上功能的开关。
PowerEnabled = true
# 用于切换冲击(Punch)附魔在弩上功能的开关。
PunchEnabled = true
# 用于切换无限(Infinity)和经验修补(Mending)附魔在弩和弓上兼容性的开关。
InfinityAndMendingEnabled = true
# 用于切换穿透(Piercing)和多发(Multishot)附魔在弩上兼容性的开关。
PiercingAndMultishotEnabled = true
注意,如果任何属性缺失或格式不正确,配置文件不会重置;相反,模组会使用该属性的默认值,即所有情况下的 'true'。
依赖项
无需依赖 :D
附加信息
- 附魔行为
请注意,禁用任何附魔将导致以下结果:
通过铁砩将无法再将这些附魔应用于弩。
[Minecraft 1.20 至 1.20.4] 已附魔了这些附魔的现有弩上的附魔效果将停止生效(掠夺(Looting)除外)。
- 功能行为
请注意,禁用某个功能将导致以下结果:
受该功能影响的附魔将无法再通过铁砧彼此兼容,但会在已附魔了这些附魔的现有物品上正常工作。
- 无限与经验修补
启用“无限与经验修补”功能将使无限和经验修补附魔实现通用兼容,这意味着它们也可以在弓上使用。
为了避免使弩相比弓过于强大,我决定暂时保持现状。不过,我未来可能会为此特定情况添加一个设置选项。
Crossbow-Enchants Multiloader(Neoforge/Forge)
Original (Fabric) link
This mod is a fork of the original mod, but with support for NeoForge and Forge, for fabric version refer to the original mod.
Crossbow Enchants
Crossbow Enchants is a customizable server or client sided mod, that enhances the crossbow experience by enabling bow exclusive enchantments on the crossbow.
In addition to that, Crossbow Enchants also supports making Infinity and Mending compatible on crossbows and bows, as well as making Piercing and Multishot compatible on crossbows, and making Looting compatible on both bows and crossbows.
Although Crossbow Enchants was initially made to work on the server side exclusively, it works perfectly fine on singleplayer too. If you plan on running this mod on the server side, the players do not need to have it installed on the client side.
Commands
Using the following commands, you can customize the functionality of the mod, note that players must have operator status to use these commands on a server:
/crossbowenchants [disable/enable] - A toggle command for the global functionality of the mod.
/crossbowenchants enchantments [disable/enable] [enchantment] - Disable or enable a specific enchantment.
/crossbowenchants features [disable/enable] [feature] - Disable or enable a specific feature, features include Infinity-And-Mending, and Piercing-And-Multishot.
/crossbowenchants info - This command outputs the current settings of the mod to the player.
/crossbowenchants reset - This command resets the settings to default, by default, all enchantments and features are enabled.
Configuration
You can also customize the mod directly from its config file, located at .\config\crossbowenchants.toml.
Here are the contents of the config file by default:
#A toggle for the global functionality of Crossbow Enchants.
Enabled = true
#A toggle for the functionality of the Flame enchantment on the crossbow.
FlameEnabled = true
#A toggle for the functionality of the Infinity enchantment on the crossbow.
InfinityEnabled = true
#A toggle for the functionality of the Looting enchantment on crossbows and bows.
LootingEnabled = true
#A toggle for the functionality of the Power enchantment on the crossbow.
PowerEnabled = true
#A toggle for the functionality of the Punch enchantment on the crossbow.
PunchEnabled = true
#A toggle for the compatibility of Infinity and Mending on crossbows and bows.
InfinityAndMendingEnabled = true
#A toggle for the compatibility of Piercing and Multishot on crossbows.
PiercingAndMultishotEnabled = true
Note that the config will not reset if any property is missing or improperly formatted, instead, the mod will use the default value for that property, which is 'true' in all cases.
Dependencies
No dependencies needed :D
Additional Info
- Enchantment Behavior
Note that disabling any of the enchantments will result in the following outcome:
The enchantments will no longer be applicable to crossbows through the use of an anvil.
[Minecraft 1.20 to 1.20.4] The enchantments will stop functioning on pre-existing crossbows that are enchanted with them (Except for Looting).
- Feature Behavior
Note that disabling a feature will result in the following outcome:
The enchantments that are affected by the feature will no longer be compatible with each other through the use of an anvil, but will work perfectly normal on pre-existing items that are enchanted with them.
- Infinity and Mending
Enabling the Infinity-And-Mending feature will make the Infinity and Mending enchantments universally compatible, meaning they will also work on bows.
In order to avoid making the crossbow too powerful in comparison to the bow, I decided to leave it as it is for now. Although I might make a setting for this specific case in the future.
评论 0
登录后参与评分
还没有评论,来抢沙发吧