Skip to content
Back to search

MCP-Reborn

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

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/hexeption--mcp-reborn/badge.svg)](/listings/hexeption--mcp-reborn)

HTML

<a href="/listings/hexeption--mcp-reborn"><img src="/api/listings/hexeption--mcp-reborn/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 76 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. ## MCP-Reborn [![Build Status](https://github.com/Hexeption/MCP-Reborn/workflows/Java%20CI/badge.svg)](https://github.com/Hexeption/MCP-Reborn/actions?workflow=Java+CI)
  2. MCP-Reborn is an MCP (Mod Coder Pack) for Minecraft. Use it to make modded clients and to read through the game's code. It's built on MCPConfig and ForgeGradle from the MinecraftForge team.
  3. ### :warning: WARNING :warning:: You **CANNOT** publish any code generated by this tool.
  4. ### Supported versions
  5. 1.13 to 26.3. Every Minecraft version has its own branch, and this one is for 26.3. To work on another version, switch to its branch.
  6. ### Java
  7. | Minecraft | JDK |
  8. |----------------|--------|
  9. | 1.13 to 1.16.5 | JDK 8 |
  10. | 1.17 | JDK 16 |
  11. | 1.18 to 1.20.x | JDK 17 |
  12. | 1.21 to 1.21.11 | JDK 21 |
  13. | 26.1 and newer | JDK 25 |
  14. Gradle has to run on that JDK as well. In IntelliJ you set it under Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JVM.
  15. ### Setting up
  16. 1. Clone this branch, or download it as a zip, and open `build.gradle` in IntelliJ as a project. Any editor will do since it's a plain Gradle project. From a terminal, run the same tasks with `./gradlew <task>`.
  17. 2. Run the `setup` task. In IntelliJ it's in the Gradle tool window (View > Tool Windows > Gradle) under MCP.
  18. <img width="284" alt="373de4ebc77d5079584370dd7fbe8745" src="https://user-images.githubusercontent.com/4052647/46925924-71b7b680-d026-11e8-9c29-e3ed2e43f810.png">
  19. This downloads Minecraft, decompiles it into `src/main/java` and copies the game's assets into `run/assets`. The first run takes a while.
  20. 3. Change whatever you like in `src/main/java`.
  21. 4. Run `runclient` to compile your changes and start the game. You can also use the "Minecraft" run configuration that IntelliJ picks up from the project.
  22. ### Installing into the launcher
  23. 1. Run the `installClient` task. It builds your client and puts it in the launcher's versions folder as `26.3-mcp`, json included.
  24. 2. Restart the launcher, go to Installations, make a new installation and pick `26.3-mcp` as its version.
  25. To use a different name, pass `-PversionName=my_mod`. If your `.minecraft` folder isn't in the default place, point the task at it with `-PmcDir=/path/to/.minecraft`.
  26. ### Building a server
  27. 1. Run the `serverJar` task.
  28. 2. `build/server` now has `server.jar` and a `libraries` folder. Copy both to wherever the server will run, and keep `libraries` next to `server.jar`.
  29. 3. Start it like a vanilla server with `java -Xmx2G -jar server.jar nogui`. The first start creates `eula.txt`. Set `eula=true` in it and start the server again.
  30. To try the server without building a jar, run `runserver`. It runs in the `runserver` folder.
  31. ### Adding OptiFine
  32. Decompiled OptiFine sources that fit MCP-Reborn are in [Hexeption/Optifine-SRC](https://github.com/Hexeption/Optifine-SRC) and on [optifinesource.co.uk](https://optifinesource.co.uk).
  33. 1. Run `setup` on this branch first.
  34. 2. Download the OptiFine source for 26.3 and extract it.
  35. 3. Copy everything except the `assets` folder into `src/main/java`, replacing the files that are already there.
  36. 4. Copy the `assets` folder into `src/main/resources`. Create that folder if it doesn't exist.
  37. 5. Run `runclient`. OptiFine's options are under Video Settings.
  38. Not every Minecraft version has an OptiFine source yet. The older ones in the repo are `.rar` archives.
  39. ### Creators
  40. * Hexeption
  41. * kingdevnl
  42. #### Special thanks to the **MinecraftForge** team, who made this tool possible. ❤

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.