/Magneticraft

Magneticraft mod for minecraft

Primary LanguageKotlinGNU General Public License v2.0GPL-2.0

Support Server Invite Build Status

Magneticraft

Magneticraft mod, more info in curseforge https://minecraft.curseforge.com/projects/magneticraft

Compiling the mod

This is a small tutorial for non-modders to get the last version of the mod from github, so you can play with alpha versions of the mod.

Prerequisites:

  • Have Java JDK installed, JRE it's not enough, you can get it here.

Steps:

  1. Download the project

alt text

  1. Extract the content of the zip file

alt text

  1. Open a terminal/cmd in the extracted folder

  2. Run the command ./gradlew setupDecompWorkspace

  3. Run the command ./gradlew build

alt text

  1. Wait until the mod is compiled

alt text

  1. Grab the mod jar from build/libs/<modname or something>.jar
  2. Profit!?!

Running the mod

To run the mod you will need it's dependencies:

  • Forgelin: or you will get a java.lang.NoClassDefFoundError: kotlin/TypeCastException
  • ModelLoader: you can found the last version in /libs/modelloader-1.x.x.jar or compile from here.