OpenMods / OpenBlocks

Random collection of blocks
Other
297 stars 150 forks source link

OpenBlocks

An open source random collection of blocks and miscellaneous cool stuff.

For stable release downloads, click here.

For snapshot versions, check the Jenkins.

FAQ

What does it contain?

In (mostly) chronological order:

Compiling

We will try keep the building instructions as up-to-date as possible, but things may change without notice.

Windows

You will require msysgit or git installed with cygwin. Alternatively I would suggest installing GitHub for Windows and checking out the repo with that.

Check out the repo

Use Github for Windows or use a command prompt/powershell with git binaries in the Environment path. git clone https://github.com/OpenMods/OpenBlocks.git

Change directory

cd OpenBlocks

Fetch dependencies (OpenModsLib etc.)

git submodule init
git submodule update

Run gradle build

OpenBlocks uses Forge Gradle build system, as almost any other mod this days. There are few good tutorials, so we will include just basic command for building:

gradle.bat build

The resulting files should be in the build/lib folder. File ending with -deobf is unobfuscated version for development use.

Linux or OSX

Much the same as Windows, open a terminal window where you wish to checkout the repo and type

git clone https://github.com/OpenMods/OpenBlocks.git
cd OpenBlocks
git submodule init
git submodule update

In OSX, git is typically supplied. Otherwise it can be installed through the apps thingy that OSX has (Obviously I know very little about OSX but you want the dev tools stuff).

(To install git and other command line tools on OS X, tun xcode-select --install in the terminal (/Applications/Utilities/Terminal.app))

The linux git can be fetched from any package manager. If you're on a Debian based machine (This includes Ubuntu) you likely have aptitude, so the command would be sudo apt-get install git.

If you're running a RedHat based system, such as CentOS or Fedora (or some other Distro I've never heard of), then you might have the yum package manager sudo yum install git-core. In the case that this does not work through yum, you might not have the packages added to yum to be able to find git. I wont go in to these here, but if you have issues feel free to contact NeverCast in #OpenMods on irc.esper.net.

Then run gradle

OpenBlocks uses Forge Gradle build system, as almost any other mod this days. There are few good tutorials, so we will include just basic command for building:

./gradle build

The resulting files should be in the build/lib folder. File ending with -deobf is unobfuscated version for development use.

Contact

Feel free to chat with us in #OpenMods on irc.esper.net

License

OpenBlocks is open source, please check the Licence.txt for more information and the licences of individual components of this mod.