forked from RepoMirrors/seppuku
2.1 KiB
2.1 KiB
Seppuku is a free, lightweight, open-source Minecraft Forge client-side mod for Minecraft 1.12.2. Oriented towards 9B9T, this is a full-featured anarchy mod with an external plugin API, unique exploits, and a solid community.
Requirements
- JDK 8 (https://adoptopenjdk.net/, https://aws.amazon.com/corretto/)
- (optional) Git
Building
Linux / Mac
- Clone the repository
git clone git@github.com:seppukudevelopment/seppuku.git
- Run
gradlew setupDecompWorkspace
- Edit
src/main/java/me/rigamortis/seppuku/impl/fml/core/SeppukuClassTransformer.java
changePatchManager.Environment.IDE
toPatchManager.Environment.RELEASE
- Edit
build.gradle
and change fieldbuildmode
toRELEASE
ex:def buildmode = "RELEASE"
- Run
gradlew build
Windows
Highly recommend using a git shell for Windows and using the linux guide above. (https://git-scm.com/downloads)
- Clone the repository
- Import the project through Gradle via
build.gradle
(simple tutorials online for intellij, eclipse, etc.) - Run the gradle command
setupDecompWorkspace
via the IDE or gradlew.bat file (via command prompt:gradlew.bat setupDecompWorkspace
) - Refresh the project (reload ide / refresh gradle workspace)
- Edit
src/main/java/me/rigamortis/seppuku/impl/fml/core/SeppukuClassTransformer.java
changePatchManager.Environment.IDE
toPatchManager.Environment.RELEASE
- Edit
build.gradle
and change fieldbuildmode
toRELEASE
ex:def buildmode = "RELEASE"
- Run the gradle command
build
via the IDE or gradlew.bat file (via command prompt:gradlew.bat build
)
Debugging
- Use VM arg
-Dfml.coreMods.load=me.rigamortis.seppuku.impl.fml.core.SeppukuLoadingPlugin
- Ensure field
PATCH_MANAGER
in SeppukuClassTransformer.java is set toPatchManager.Environment.IDE
- Ensure field
buildmode
in build.gradle is set toIDE
ex:def buildmode = "IDE"