Nouveau Enchanting
受《Tinkers' Construct》启发,为 Paper Minecraft 服务器从头重构的 Minecraft 附魔系统。
🔮 基于材质的附魔:
通过使用材料和经验值来逐步强化工具、武器和盔甲,而不是去刷村民或赌运气在附魔台上获取想要的附魔。
例如,要给一把剑添加锋利 I,你带着一些下界石英来到附魔台。附魔台将消耗 4 级经验和 8 个石英来应用锋利 I。然后,要应用锋利 II,拿着已有锋利 I 的剑,再次放入附魔台并加入更多石英,它将消耗 6 级经验和 4 个石英来应用锋利 II,依此类推。
这一切都配备了一个 GUI(图形用户界面),它可以选择性地替换原版附魔台,在每个尝试应用的附魔旁预览其等级和材料成本。默认配置下,它看起来像这样:

插件中的所有设置均可通过 materials.yml 文件进行配置,你可以让任何材质对应任何附魔。你甚至可以使用其他插件添加的自定义材质!以下是常见插件及其是否被 Nouveau Enchanting 支持的列表:
| 插件 | 是否支持 |
|---|---|
| ItemsAdder | ✅ |
| ServerLevels | ✅ (v 1.0.1) |
| Oraxen | ❌ |
| CraftEngine | ✅ (v 1.0.1) |
请注意:对 materials.yml 文件的更改需要完全重启服务器才能生效!
✨ 原版附魔覆盖:
利用 Paper 的新 Registry API,此插件允许你直接修改原版游戏的附魔。目前你可以更改一个附魔的:
- 最高等级
- 适用物品 - 它可以应用于哪些物品,使用物品 ID 或任何原版/数据包物品标签(如
#swords) - 主要物品 - 它在原版附魔台和随机战利品中显示的物品
- 冲突 - 它不能与之组合的其他附魔
- 标签 - 可以在哪里找到它(附魔台、战利品、村民交易、仅限宝藏等)
- 名称 - 使用 MiniMessage 格式化和可翻译文本
- 铁砧成本、权重以及最小/最大附魔成本
- 激活槽位 - 它在哪些装备槽位中生效
- 效果 - 附魔实际执行的操作(见下文)
所有设置都是可选的。未设置的项将保留其原版值。
附魔效果
你还可以更改原版附魔做什么,例如锋利增加多少伤害或保护减少多少伤害。效果使用 Minecraft 自身的附魔系统,因此它们在所有地方都能正常工作且无额外延迟。目前你可以更改:
- 战斗 - 伤害、伤害减免、击退、护甲有效性、重锤砸击伤害
- 耐久度和经验 - 耐久度损耗、经验修补、方块和生物掉落经验
- 投射物、弩和三叉戟 - 弹药消耗、投射物数量/散布/穿透、弩充能时间、三叉戟返回速度和旋转攻击强度
- 钓鱼 - 钓鱼时间和运气
- 生物掉落 - 装备掉落几率
- 属性 - 任何属性,如移动速度、攻击速度或最大生命值,当持有或穿戴该物品时
- 诅咒 - 防止物品在死亡时掉落或无法脱下
效果可以在每个等级保持不变,也可以随附魔等级缩放。它们可以替换附魔现有的效果,也可以叠加在其之上。
所有这些都在插件的 enchants.yml 文件中完成,该文件预配置了游戏中所有附魔的原版值。请参阅 Wiki 以获取所有设置和效果的详细信息。对此文件的更新需要完全重启服务器!
🧪 自定义附魔:
Nouveau Enchanting 让你可以为游戏添加全新的附魔。自定义附魔与上述所有功能兼容:它们可以作为 materials.yml 中的结果使用,并且它们的每一项设置都可以在 enchants.yml 中更改。有三种创建方法:
- 无需代码 - 在插件的
addons文件夹中的.yml文件中编写附魔,使用与enchants.yml相同的设置和效果。那里会创建一个example-enchants.yml供你起步。 - 加载项 (Addons) - 放置在
addons文件夹中的小型 jar 文件。加载项可以为附魔提供效果、用 Java 编写的自定义行为,或两者兼有。 - 其他插件 - 任何 Paper 插件都可以通过 Nouveau Enchanting API 注册自己的附魔。
该插件还为开发者提供了事件,每当物品被附魔或解除附魔时触发,无论是来自附魔 GUI、原版附魔台、铁砧、磨石还是命令。
请参阅 Wiki 以获取有关制作自定义附魔和使用 API 的指南。
💻 命令:
/ne reload - 重新加载 config.yml。不会重新加载 enchants.yml 或 materials.yml。对这些文件的更改需要完全重启服务器。
/ne opengui - 为自己打开附魔 GUI
/ne opengui [player] - 为指定玩家打开附魔 GUI
⌚ 计划中的功能:
最终,我希望这个插件能够:
- 修改铁砧行为,阻止应用附魔书
- 修改村民交易,移除附魔书和附魔工具(可能作为单独的插件)
- 支持更多附魔效果,例如击中目标时触发的效果(如火焰附加),以及仅在特定条件下生效的效果(如击退只对亡灵生物有效)
上述功能目前均未在插件中实现,但已列入未来更新计划。
❓ 常见问题解答:
Q: 我需要帮助!X 不起作用!
A: 请查阅相关的 Wiki 页面。如果 Wiki 没有帮助或你仍不理解,请加入 Discord 服务器并在那里寻求支持。(Discord 正在建设中)
Q: 为什么此插件仅支持 Paper 而不支持 Spigot?
A: 本插件广泛使用了 Paper 的 API,甚至使用了一些仍处于实验性阶段且未正式支持的特性。若要使用 Spigot 实现相同结果的插件,虽然可行,但将是一项巨大的工程,并且其性能表现会比当前在 Paper 上运行的插件卡顿得多。
Q: 为什么 GitHub 仓库显示为 V2?
A: 实际上,这是我所制作的该插件的第二代版本。原始的 V1 版本是基于 Spigot API(而非 Paper)开发的,功能只有现在的一半,但延迟却大了一倍。由于我始终对自己的作品及代码整体质量不满意,因此 V1 从未正式发布过。
Nouveau Enchanting
A complete, ground-up overhaul of Minecraft's Enchanting system inspired by Tinkers' Construct for Paper Minecraft Servers
🔮 Material-Based Enchanting:
Enchant your tools, weapons, and armor incrementally by using materials and exp instead of farming for villagers or gambling for the right enchants in the enchanting table.
For example, to add Sharpness 1 to a sword, you go to the enchanting table with some nether quartz. The table will take 4 levels and 8 quartz to apply Sharpness 1. Then, to apply Sharpness 2, take that sword with Sharpness 1, put it back in the table with some more quartz, and it will take 6 levels and 4 quartz and apply Sharpness 2, and so on and so forth.
This all comes complete with a GUI that (optionally) replaces the vanilla Enchanting Table with an item previewing the level and material cost of every enchant you try to apply. With a default configuration, it looks like this:

Everything in the plugin is configurable via the materials.yml file and you can make any material correspond to any enchantment. You can even use custom materials added by other plugins! Here is a list of common plugins and whether or not Nouveau Enchanting supports them:
| Plugin | Has Support |
|---|---|
| ItemsAdder | ✅ |
| ServerLevels | ✅ (v 1.0.1) |
| Oraxen | ❌ |
| CraftEngine | ✅ (v 1.0.1) |
Please note: changes to your materials.yml file require a full server restart to apply!
✨ Vanilla Enchant Overrides:
Using Paper's new Registry API, this plugin allows you to directly modify the vanilla game's Enchants. Currently you can change an Enchant's:
- Max level
- Allowed items - what items it can be applied to, using items or any vanilla/datapack item tag (like
#swords) - Primary items - what items it can show up on in the vanilla enchanting table and random loot
- Conflicts - which other Enchants it can't be combined with
- Tags - where it can be found (enchanting tables, loot, villager trades, treasure-only, etc.)
- Name - with MiniMessage formatting and translatable text
- Anvil cost, weight, and min/max enchanting cost
- Active slots - which equipment slots it works in
- Effects - what the Enchant actually does (see below)
Every setting is optional. Anything you leave out keeps its vanilla value.
Enchant Effects
You can also change what vanilla Enchants do, such as how much damage Sharpness adds or how much Protection protects you. Effects use Minecraft's own enchantment system, so they work everywhere with no extra lag. Currently you can change:
- Combat - damage, damage protection, knockback, armor effectiveness, mace smash damage
- Durability and experience - durability loss, Mending repair, block and mob experience
- Projectiles, crossbows and tridents - ammo use, projectile count/spread/piercing, crossbow charge time, trident return speed and spin attack strength
- Fishing - fishing time and luck
- Mob drops - equipment drop chance
- Attributes - any attribute, like movement speed, attack speed or max health, while the item is held or worn
- Curses - preventing an item from dropping on death or being taken off
Effects can stay the same at every level or scale with the Enchant's level. They can replace an Enchant's existing effects or be added on top of them.
All of this is done in the plugin's enchants.yml file, which comes pre-configured with every enchant in the game set to their vanilla values. See the Wiki for every setting and effect. Updates to this file require a full server restart!
🧪 Custom Enchants:
Nouveau Enchanting lets you add brand new Enchants to the game. Custom Enchants work with everything above: they can be used as results in materials.yml, and every one of their settings can be changed in enchants.yml. There are three ways to make them:
- No code - write the Enchant in a
.ymlfile in the plugin'saddonsfolder, using the same settings and effects as enchants.yml. Anexample-enchants.ymlis created there to get you started. - Addons - small jar files placed in the
addonsfolder. An addon can give its Enchants effects, custom behavior written in Java, or both. - Other plugins - any Paper plugin can register its own Enchants through the Nouveau Enchanting API.
The plugin also has events for developers that fire whenever an item is enchanted or disenchanted, whether that's from the enchanting GUI, the vanilla enchanting table, an anvil, a grindstone or a command.
See the Wiki for guides on making custom Enchants and using the API.
💻 Commands:
/ne reload - Reloads the config.yml. Does NOT reload enchants.yml or materials.yml. Changes to these files require a full server restart.
/ne opengui - Opens the Enchanting GUI for yourself
/ne opengui [player] - Opens the Enchanting GUI for the specified player
⌚ Planned Features:
Eventually, I would like for this plugin to:
- Modify anvil behavior to block the application of enchanted books
- Modify Villager trades to remove enchanted books and enchanted tools (Likely as a separate plugin)
- Support more Enchant effects, such as effects that trigger when you hit something (like Fire Aspect) and effects that only apply in certain conditions (like Smite only working on undead mobs)
None of the above features are currently implemented in the plugin, but are planned for future updates.
❓ FAQ:
Q: I Need Help! X Isn't working!
**A: **Check the relevant Wiki page. If the Wiki isn't helpful or you otherwise don't understand, join the Discord Server and ask for support there. (Discord W.I.P)
Q: Why does this plugin only support Paper and not Spigot?
A: This plugin makes extensive use of Paper's api, even using features that are still considered experiemental and not officially supported. To make a plugin that achieves the same result using Spigot, while possible, would be a massive undertaking and would be a lot laggier than this plugin is currently on Paper.
Q: Why does the Github repo say V2?
A: This plugin is actually the 2nd iteration of the plugin that I've made. The original V1 version was made with the Spigot API (rather than Paper) and had half the feautres with twice the lag. V1 never saw release since I was never fully satisfied with my work or the overall quality of my code.
下载 Nouveau Enchanting
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nouveau Enchanting
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nouveau Enchanting
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nouveau Enchanting
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nouveau Enchanting
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nouveau Enchanting
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nouveau Enchanting
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nouveau Enchanting
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
修复了一个在加载自定义附魔时可能导致服务器偶尔启动挂起的问题。对于未使用任何附加模组或通过 NE 加载自定义附魔的用户来说,此问题并不紧急。
此次更新是迄今为止最大的更新。您原有的所有配置在本更新中仍将继续使用,但还有大量新功能可供体验:
GUI 更改:
GUI 的运作方式与之前相同,但内部逻辑已优化,使其运行更加流畅。现在您可以正确地通过 Shift+点击将物品移入或移出 GUI。使用填充材料有助于进一步提升流畅度。
原版覆盖:
该插件现已支持 Paper Registry API 所支持的所有原版附魔覆盖功能。包括:
- 适用物品(附魔台会对哪些物品应用该附魔)
- 冲突项
- 标签(该附魔应归属的附魔标签组)
- 名称 - 支持 MiniMessage 格式化和可翻译文本
- 铁砝成本、权重以及最小/最大附魔成本
- 可用槽位
- 效果 - 附魔实际产生的效果(详见下文)
插件扩展和 API:
该插件现在拥有功能齐全的插件扩展系统和 API,不仅允许您获取重要数据,还让您能够轻松、顺畅地创建自定义附魔!
有三种方法可以制作自定义附魔:在 addons 文件夹中使用 .yml 文件、编写正式的编译插件,或通过侧边插件挂钩到 NE 的 API。更多信息请查阅更新后的 Wiki。
Wiki:
Wiki 已更新,全面记录了该插件自 1.1.0 版本以来支持的所有功能,其帮助程度比以往有了显著提升。
附魔效果:
该插件现在支持使用游戏内置的附魔效果来创建自定义附魔并覆盖原版附魔。为此,插件会自动生成一个数据包来实现附魔效果,因此您无需手动操作数据包。添加自定义附魔效果的完整流程也列在 Wiki 上。
修复:
- 修复了当未设置等级或材料成本时,附魔变为免费的 Bug
- 修复了当配置文件中设置的 GUI 槽位数量相同时出现的错误(现会记录正确的警告信息)
- 更新了默认的 enchants.yml 和 tags.yml,使其更贴合原版行为
- 修复了命令的权限检查问题(玩家若无权限,相关命令将不再显示)
- 添加了更新跟踪器,以便服务器管理员知晓是否有新版本可用
- 修复了大量 Bug(现在无法再使用 Shift+右键打开 GUI,也无法在结果栏中交换物品,等等)
- 修复了若干崩溃问题(相关问题现在会记录错误日志,而不再导致插件崩溃)
此版本包含大量修复,但服务器管理员无需进行任何强制性更改。如果您使用的是默认配置,建议重新生成 enchants.yml 文件和 tags.yml 文件(删除它们并重启服务器),但这并非 必需。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧