Skip to content

Magneticraft-Team/Magneticraft

Repository files navigation

Support Server Invite Build Status

Magneticraft

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

The mod is no longer in development

Check out this cool fork called Magnetic Engineering: It turns Magneticraft into an Immersive Engineering + Addons companion/addon by removing most overlapping content.

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.