Enchantment Forge
一款受 Stardew Valley 的熔炉启发的数据驱动型附魔/锻造模组。通过数据包创建自定义配方(无需编写代码),调整制作速度,并使用简单的命令来调节玩家的经验值。
- 数据驱动:所有配方均来自数据包
- 可配置:可通过配置文件调整制作速度
- 星露谷物语风格流程:结合工具、燃料和宝石
- 一条管理员命令即可快速管理经验值
? 工作原理(快速入门)
- 放入包含配方的数据包 → 模组在加载时读取它们。
- 使用数据包生成器避免手动编辑 JSON:
- (可选)在模组的配置文件中调整制作速度。
⌨️ 命令
/take level|points player amount
level → 移除经验等级
points → 移除原始经验点数
示例
? 命令中的占位符
你可以在数据包定义的命令中使用占位符。它们在运行时会被替换:
| 占位符 |
解析为 |
%player% |
目标玩家的名称或选择器 |
%player_coords% |
玩家在世界中的当前坐标 |
示例
/take level %player% 5
/summon minecraft:lighting_bolt %player_coords%
⚙️ 配置
- 制作速度:可在模组的配置文件中进行调整(数值越低越快,越高越慢)。
- 适用于服务器和整合包。
? 数据包
? 链接
❓ 常见问题
问:这个模组会更新到 X 版本吗?
答: 会的——一旦我弄清楚了 Mojang 的新方法和 API 变更。
问:我该如何制作配方 / 让它正常工作?
答: 使用数据包生成器 →
下载数据包,将其放入 <world>/datapacks 文件夹中,然后运行 /reload 或重启游戏/服务器。(压缩的 .zip 文件或解压后的文件夹均可。)
问:这个模组支持 X 启动器吗?
答: 同 Q1 —— 待模组更新以适配该 Minecraft 版本后,将提供支持。
问:我可以将它用于我的整合包吗?
答: 可以——无需注明出处。
Enchantment Forge
A data-driven enchanting/forging mod inspired by Stardew Valley’s Forge. Create custom recipes with datapacks (no code), tune the crafting speed, and use a simple command to adjust player XP.
- Data-driven: all recipes come from datapacks
- Configurable: tweak crafting speed via config
- Stardew-style workflow: combine tools, fuel, and gems
- One admin command to manage XP quickly
? How it Works (Quick)
- Drop a datapack with your recipes → the mod reads them at load time.
- Use the Datapack Generator to avoid hand-editing JSON:
- (Optional) Adjust crafting speed in the mod’s config.
⌨️ Command
/take level|points player amount
level → removes experience levels
points → removes raw XP points
Example
? Placeholders for Commands
You can use placeholders inside datapack-defined commands. They are replaced at runtime:
| Placeholder |
Resolves to |
%player% |
The target player’s name/selector |
%player_coords% |
The player’s current coordinates in the world |
Examples
/take level %player% 5
/summon minecraft:lighting_bolt %player_coords%
⚙️ Configuration
- Crafting Speed: configurable in the mod’s config file (lower = faster, higher = slower).
- Safe for servers and modpacks.
? Datapacks
- Fully data-driven
- Use the Datapack Generator (recommended):
➜
? Links
- Source Code:
- Datapack Generator:
❓ FAQ
Q: Will this be updated to version X?
A: At some point—once I wrap my head around Mojang’s new methods and API changes.
Q: How do I make a recipe / get it working?
A: Use the Datapack Generator →
Download the datapack, place it in your <world>/datapacks folder, then run /reload or restart the game/server. (Both a zipped .zip or an unpacked folder work.)
Q: Will this support Launcher X?
A: Same as Q1—support follows once the mod is updated for that Minecraft version.
Q: Can I use this in my modpack?
A: Yes—no attribution required.
评论 0
登录后参与评分
还没有评论,来抢沙发吧