Skip to content

MCP Reborn

MCP-Reborn is an MCP (Mod Coder Pack) for Minecraft for making modded clients and researching its code. (1.13-26.2)

Install: git clone https://github.com/Hexeption/MCP-Reborn

Install

$git clone https://github.com/Hexeption/MCP-Reborn

Install command taken from the project's README or registry entry. Always review code before running it.

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->26.1

Important

1.17< Needs JDK 16

1.18> Needs JDK 17

1.21> Needs JDK 21

26.1> Needs JDK 25

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.

    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.

  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.

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

MCP serverDatabases+105 this week

Explore related