==============
A minecraft mod aiming to bring a real world electrical system into the minecraft world
Presented by the Scientific MineCraft Mod Researching Institution of the People's Republic of China (SMRI)
BuildCraft Extension: Install BuildCraft facade to SimElectricity cable https://github.com/RoyalAliceAcademyOfSciences/SimElectricity_BuildCraft_Extension
- Ensure that
Java
(found here),Git
(found here) are installed correctly on your system. - Create a base directory for the repo
- (On Windows) open Git CMD and navigate to the directory just created
git clone https://github.com/RoyalAliceAcademyOfSciences/SimElectricity
git submodule init
andgit submodule update
to get LibRikkagradlew build
to build jarsgradlew setupDecompWorkspace
to setup a complete development environment.
- On Windows: use
gradlew.bat
instead ofgradlew
- If you are using Intellij Idea, the IDE will configure LibRikka automatically, so you don't need to worry about this
- Obfuscated and deobfuscated jars needs LibRikka to work properly
- Navigate to librikka directory and use
gradlew build
to build LibRikka - In standalone MineCraft, you need to have both
SimElectricity.jar
andlibrikka.jar
in yourmods
folder SimElectricity-full.jar
includes LibRikka
- Advanced users only: There are two hidden gradlew tasks:
energyNetDevJar
andenergyNetJar
, which can generate Jars without essential mod.
- You MUST set the compatibility level of Java compiler to 1.8. By default, Minecraft Forge(1.11.2 - 13.20.1.2386) sets the compatibility level to 1.6. To do this, modify
sourceCompatibility = targetCompatibility = "1.6"
in build.gradle tosourceCompatibility = targetCompatibility = "1.8"
.
- Deploy the forge MDK, detailed tutorial can be found on forge's website: https://mcforge.readthedocs.io/en/latest/gettingstarted/
- Navigate to the forge MKD folder, Delete
/src/main/java/com/example/
. - Download the source code as a Zip file
- Extract the
src
folder in the Zip file to the forge MDK directory - Launch Eclipse and then run Minecraft, all done
CSPARSEJ - A Java port of CSPARSE, CSPARSE is a sparse matrix utility library
Minecraft Forge - A Minecraft mod container and loader
LambdaLib - A modding library that aims at making modding fluent and enjoyable.
Also, inspired by BuildCraft and Immersive Engineering !zz