Cover image
Try Now
4 天前

MCP-Reborn是MCP(MOD编码器包),用于Minecraft,用于制作改装客户并研究其代码。 (1.13-1.21.4)

3 years

Works with Finder

19

Github Watches

149

Github Forks

1.2k

Github Stars

MCP-Reborn Build Status

MCP-Reborn is an MCP (Mod Coder Pack) for minecraft for making modded clients for minecraft and researching its code. It is based on MCPConfig and ForgeGradle by MinecraftForge Team.

:warning: WARNING :warning:: You CANNOT publish any code generated by this tool.

Supported versions:

1.13->1.21.4

Important

1.17< Needs JDK 16

1.18> Needs JDK 17

1.21> Needs JDK 21

How to use

  1. Import the build.gradle in Intellij.

  2. Run the Gradle "setup" task in the mcp folder in IntelliJ - you may need to select View > Tool Windows > Gradle to get this option.

    373de4ebc77d5079584370dd7fbe8745

    This will generate the decompiled source code, which you can now find in the "src" folder in the project.

  3. Modify the source code as you please.

  4. To test your modified code, go back to the Gradle tasks list (where you ran setup), and run the "runclient" task. This will compile your new, modified game and run it, to allow you to test.
    Note: You can also run the autogenerated run configuration 'Minecraft'

  5. Once you have reached a final result you are happy with, there is a bit of a process to turn it into a JAR file that can actually run from the game launcher. Go to the "build" folder in the Gradle tasks, and run the "build" task. This will generate the new executable JAR file in the "build/libs/" directory.

    a647ab0eb336062ffd80c8e053e10266
  6. With that JAR generated, open your Minecraft versions folder. On Linux, this defaults to ~/.minecraft/versions. On Windows, it's in AppData/Roaming/.minecraft/versions. Find the variant your modded version is based on (that is, if you modded 1.16.4, find the 1.16.4 folder). Duplicate that folder, and rename it. For me, I was modifying villagers so I called it "1.16.4_villager_mod".

  7. Go into that folder and delete the original Minecraft JAR file. Then, rename the JSON file to be identical to the folder name. For me, that made it "1.16.4_villager_mod.json".

  8. Using a text editor, find the first instance of "downloads": This tells Minecraft where to obtain the game JAR file. If you leave this in, Minecraft will automatically download the vanilla JAR. But we want to run your new modded JAR. So delete everything from that "downloads": through the client, server, and server_mappings headers, which finally end in /server.txt"}},. Once you remove that, this section should hold "assets": "1.16", "complianceLevel": 1, "id": "1.16.4". The last thing we need to do in this JSON file is to change that ID field to match the name of the folder and the JSON file. So in this case, we want "id":"1.16.4_villager_mod".

  9. Now, take your new JAR file from the build/libs/ directory, and copy it into this same version folder, and, for the final time, rename it to the new name we've been using - 1.16.4_villager_mod.jar.

  10. Using an archive manager (Ubuntu comes with one built in; Windows users can download 7-Zip), open the base version's JAR file (in this case, 1.16.4.jar, which you'll find in its folder), and your JAR file. You'll need to copy 4 files/folders from the base JAR into your new one.

    1. The folder "assets"
    2. The folder "data"
    3. The file "pack.png"
    4. The file "pack.mcmeta"
  11. Finally, still in that archive manager, delete the META-INF folder from your new JAR.

  12. Your files should all be configured now. In the Minecraft launcher (close and reopen it if it's already open), go to "Installations" in the upper left, and then create a new installation. Name it whatever you want. For the version, select the version you made (1.16.4_villager_mod.jar). Create it, then go back to the launcher home screen by clicking "Play" in the upper left. In the lower left, select your new custom version, and hit the big green "Play" button.

How to add Optifine

Creators:

  • Hexeption
  • kingdevnl

Special thanks to: MinecraftForge Team who made this tool possible. ❤

相关推荐

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Benedikt Ess
  • FindetundanalysiertOnlineProdukteeinschlielichAmazonnachVolumenBewertungenundPreis

  • https://thrive-vibes-hub.com
  • I specialize in identifying 'Novel Foods' in ingredient lists.

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • GeyserMC
  • 与Minecraft客户端/服务器通信的库。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • awslabs
  • AWS MCP服务器 - 将AWS最佳实践直接带入您的开发工作流程的专门MCP服务器

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • appcypher
  • 很棒的MCP服务器 - 模型上下文协议服务器的策划列表

  • GLips
  • MCP服务器向像光标这样的AI编码代理提供FIGMA布局信息

  • Byaidu
  • PDF科学纸翻译带有保留格式的pdf -基于ai完整保留排版的pdf文档全文双语翻译

  • n8n-io
  • 具有本机AI功能的公平代码工作流程自动化平台。将视觉构建与自定义代码,自宿主或云相结合,400+集成。

  • activepieces
  • AI代理和MCPS&AI工作流程自动化•(AI代理280+ MCP服务器)•AI Automation / MCPS的AI Automation / AI Agent•AI Workfrows&AI代理•AI代理的MCPS

    Reviews

    2 (1)
    Avatar
    user_vYwr0RZF
    2025-04-17

    As a dedicated user of MCP applications, I must say that MCP-Reborn by Hexeption has truly redefined my experience. Its seamless integration and robust performance are top-notch, making it an indispensable tool for my projects. The comprehensive documentation and active community support make it even more appealing. Highly recommended for developers seeking a reliable and efficient solution!