Please open an issue if you encounter anything unexpected! For crashes or bugs/glitches, please ensure:
- you are positive the bug is caused by BuildCraft and not by any other mod (bugged interactions with other mods are a valid issue),
- you have at least one of the following:
- a crash report or log file/entry,
- a step-by-step means of reproducing the bug in question, i.e. "What were you doing at the time of the issue?",
- and/or screenshots/videos/etc. to demonstrate the bug.
Only bugfixes are planned for this port.
Please check if the bug has been reported beforehand. Also, provide the version of BuildCraft used - if it's a version compiled from source, link to the commit/tree you complied from.
Please mention if you are using any other mods, especially mods which optimize or otherwise severely modify the functioning of the Minecraft engine like MCPC+, Cauldron, OptiFine, FastCraft, Sodium, etc. That is very helpful when trying to reproduce a bug.
BuildCraft, being an open-source project, gives you the right to submit a pull request if a particular fix or feature is important to you. However, if the change in question is major, please contact the team beforehand - we wish to prevent wasted effort.
If you wish to submit a pull request to fix bugs or broken behaviour feel free to do so.
- Ensure that
Java 25(found here) and optionallyGit(found here) are installed correctly on your system.
- Optional: Install
Gradle(found here).
- Clone the BuildCraft repository:
git clone https://github.com/legoj15/BuildCraft.gitor download the latest zip - Navigate to the cloned repository in a shell:
cd BuildCraft - Run the Gradle build command:
- On Linux/Unix/Mac:
./gradlew build - On Windows:
.\gradlew.bat build - With
Gradleinstalled: usegradleinstead of the wrapper.
- On Linux/Unix/Mac:
- Once the build finishes, the compiled mod jar will be in
build/libs/.
To test the mod locally, use the NeoForge run tasks:
- Run the Client:
./gradlew runClient(or.\gradlew.bat runClienton Windows) - Run the Server:
./gradlew runServer(or.\gradlew.bat runServeron Windows) On Windows 11,runClientAndServer.ps1will launch both at the same time to reduce the amount of steps.
Your directory structure will look like a standard monolithic Java project:
BuildCraft
|- build (Generated after compiling)
|- run (Generated when running the client/server)
\- src
|- main (Mod source code and resources)
\- test (Test source code)
Localizations can be submitted here.
As this is an unofficial port, it is not currently hosted on the official BuildCraft Maven repository.
To depend on BuildCraft in your own mod, you will first need to compile it locally and publish it to your local Maven repository:
- Clone this repository locally.
- Run
./gradlew publishToMavenLocal(or.\gradlew.bat publishToMavenLocalon Windows).
Then, add mavenLocal() to your repositories block in your build.gradle:
repositories {
mavenLocal()
}Since the 26.1.1 port uses a monolithic project structure, you will depend on the entire BuildCraft artifact rather than separate API or lib modules:
dependencies {
implementation "com.mod-buildcraft:buildcraft:8.0.+"
}Where 8.0.+ is the desired version of BuildCraft.