跳到正文

Enchantment Forge

作者:spacemex

A data-driven enchanting/forging mod inspired by Stardew Valley’s Forge

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

CurseForge Downloads
Modrinth Downloads
GitHub)

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:
  • Generator: https://spacemex.github.io/EnchantmentForgeing-Site/
  • (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): ➜ https://spacemex.github.io/EnchantmentForgeing-Site/

📎 Links

  • Source Code: https://github.com/spacemex/enchantmentforge
  • Datapack Generator: https://spacemex.github.io/EnchantmentForgeing-Site/

❓ 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 → https://spacemex.github.io/EnchantmentForgeing-Site/
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.

常见问题

Enchantment Forge 支持哪些 Minecraft 版本?

Enchantment Forge 支持 Minecraft Java 版 1.20–1.20.1,共 2 个版本,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。

Enchantment Forge 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

spacemex 的其他作品

查看全部 →