No description
Find a file
2015-06-28 22:28:47 +02:00
api Fixed bugs (detected by FindBugs) and remove unnecessary nullchecks (NPE is impossible). 2015-06-14 18:45:56 +03:00
buildcraft_resources tweaks to list GUI size 2015-06-28 21:42:47 +02:00
common/buildcraft code cleanup 2015-06-28 22:28:47 +02:00
gradle/wrapper Updated to 1.7.10 2014-06-28 11:57:16 -04:00
guidelines BuildCraft 7.0.1 Beta 2015-04-18 10:23:41 +02:00
misc move alts from resources, fix colorblind diamond pipe gui colors 2015-06-05 21:30:46 +02:00
tests/buildcraft/tests Fixed gate extension ids synchronization, for #1895. 2014-06-22 11:49:59 +02:00
testsuite added test for robot pathfinding, for #1732 2014-05-25 12:36:05 +02:00
.gitattributes Step 2: The Rebirth 2014-02-17 01:24:19 -06:00
.gitignore Merge branch '5.0.x' into 6.0.x 2014-07-11 08:49:38 +02:00
.travis.yml Make Travis builds less obscure. 2015-01-17 11:21:42 +01:00
build.gradle BuildCraft 7.0.12, fix #2833 2015-06-23 12:33:45 +02:00
gradlew Updated to 1.7.10 2014-06-28 11:57:16 -04:00
gradlew.bat Found some more valid facades! 2014-02-23 17:31:47 -08:00
LICENSE relicense BuildCraft API to MIT, close #2248 2014-12-09 21:09:14 +01:00
LICENSE.API relicense BuildCraft API to MIT, close #2248 2014-12-09 21:09:14 +01:00
LICENSE.CoFH relicense BuildCraft API to MIT, close #2248 2014-12-09 21:09:14 +01:00
README.md update gradle instructions 2015-06-07 11:10:47 +02:00
test.py progress in implementation of tests, #1486 2014-05-25 11:58:50 +02:00

Welcome to Buildcraft on GitHub

Reporting an issue

Please open an issue for a bug report only if:

  • you are sure the bug is caused by BuildCraft and not by any other mod,
  • you have at least one of the following:
    • a crash report,
    • means of reproducing the bug in question,
    • screenshots/videos/etc. to demonstrate the bug.

If you are not sure if a bug report is valid, please use the "Ask Help!" subforum.

Please only use official BuildCraft releases for any kind of bug reports unless otherwise told to do by the BuildCraft team. Custom builds (for instance from Jenkins) are unsupported, often buggy and will not get any support from the developers.

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 MCPC+, Cauldron, OptiFine, FastCraft or any other mods which optimize or otherwise severely modify the functioning of the Minecraft engine. That is very helpful when trying to reproduce a bug.

Please do not open issues for features unless you are a member of the BuildCraft team. For that, use the "Feature Requests" subforum.

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.

Contributing

If you wish to submit a pull request to fix bugs or broken behaviour feel free to do so. If you would like to add features or change existing behaviour or balance, please discuss it on the feature ideas board before (http://mod-buildcraft.com/forums/index.php?board=4.0 before).

Do not submit pull requests which solely "fix" formatting. As these kinds of changes are usually very intrusive in commit history and everyone has their own idea what "proper formatting" is, they should be done by one of the main contributors. Please only submit "code cleanup", if the changes actually have a substantial impact on readability.

PR implementing new features or changing large portions of code are helpful. But if you're doing such a change and if it gets accepted, please don't "fire and forget". Complex changes are introducing bugs, and as thourough as testing and peer review may be, there will be bugs. Please carry on playing your changes after initial commit and fix residual issues. It is extremely frustrating for others to spend days fixing regressions introduced by unmaintained submissions.

Frequently reported

  • java.lang.AbstractMethodError, java.lang.NoSuchMethodException
    • A mod has not updated to the current BuildCraft API
    • You are not using the correct version of BuildCraft for your Forge/Minecraft versions
    • You are using the dev version on a normal game instance (or vice versa)
  • Render issue (Quarry causes flickering) - Try without OptiFine first! This is a known issue with some versions of OptiFine.

Compiling and packaging Buildcraft

  1. Ensure that Java (found here), Git (found here) are installed correctly on your system.
  • Optional: Install Gradle (found here)
  1. Create a base directory for the build
  2. Clone the Buildcraft repository into 'baseDir/BuildCraft/'
  • Optional: Copy BuildCraft localization repository into baseDir/BuildCraft-Localization
  1. Navigate to basedir/BuildCraft in a shell and run one of two commands:
  • gradlew setupCIWorkspace build to just build a current jar (this may take a while).
  • gradlew setupDecompWorkspace to setup a complete developement enviroment.
  • With Gradle installed: use gradle instead of gradlew
  • On Windows: use gradlew.bat instead of gradlew
  1. The compiled and obfuscated jar will be in 'baseDir/BuildCraft/build/libs'

Your directory structure should look like this before running gradle:


baseDir
\- BuildCraft
 |- buildcraft_resources
 |- common
 |- ...
\- BuildCraft-Localization
 |- lang

And like this after running gradle:


basedir
\- BuildCraft
 |- .gradle
 |- build
 |- buildcraft_resources
 |- common
 |- ...
\- BuildCraft-Localization
 |- lang

Localizations

Localizations can be submitted here. Localization PRs against this repository will have to be rejected.

Depending on BuildCraft

Add the following to your build.gradle file:

repositories {
    ivy {
        name "BuildCraft"
        artifactPattern "http://www.mod-buildcraft.com/releases/BuildCraft/[revision]/[module]-[revision]-[classifier].[ext]"
    }
}

dependencies {
    compile name: "buildcraft", version: "7.0.7", classifier: "dev"
}

Where 7.0.7 is the desired version of BuildCraft.