- Ensure that
Apache Ant
(found here) is installed correctly on your system.
- Linux users will need the latest version of astyle installed as well.
- Create a base directory for the build
- Clone the Buildcraft repository into
basedir/src/
- Copy the minecraft bin dir and minecraft_server.jar into
basedir/jars/
- Navigate to basedir/src in a shell and run
ant clean package
(this will take 2-5 minutes) - The compiled and obfuscated jars will be in basedir/build/dist
Your directory structure should look like this:
basedir
\- jars
|- minecraft_server.jar
\- bin
|- minecraft.jar
|- ...
\- src
|- buildcraft_client
|- buildcraft_server
|- ...