A Minecraft mod for high voltage power systems, power poles and transformers!
A Minecraft mod aiming to bring real world electrical systems into the Minecraft world
Brought to you by the Chinese Institution of Scientific Minecraft Mod (CISM)
Current Supported Version: Minecraft Forge 1.18.1
Legacy versions: Minecraft Forge 1.17.1, 1.16.5(1.16.2 to 1.16.5), 1.15.2, 1.14.4, 1.12.2, 1.11.2, 1.7.10
Java
(found here) and Git
(found here) are properly installed on your system.git clone https://github.com/RoyalAliceAcademyOfSciences/SimElectricity
git submodule init
and git submodule update
to get LibRikkagradlew.bat
instead of gradlew
gradlew runData
to launch the data generator, generated resource files will be located at "/src/generated"gradlew runClient
to launch the game, otherwise skip this step.gradlew build
to build SimElectricity.cd librikka
gradlew build
again to build LibRikka jarsSimElectricity/build/libs
and SimElectricity\librikka\build\libs
.minecraft\mods
directory __For API Usage, Please refer to the SimElectricity Github Wiki Pages
and comments in the API source code (package simelectricity.api
).
gradlew genEclipseRuns
to generate the workspace and launch configurationImport > Existing Gradle Project > Select Folder
Debug Configuration
(Next to the debug icon), edit MOD_CLASSES
in the Environment
tab:
Replace simelectricity%%<SomePath>\SimElectricity\bin\main;simelectricity%%<SomePath>\SimElectricity\bin\main
with
simelectricity%%<SomePath>\SimElectricity\bin\main;librikka%%<SomePath>\SimElectricity\librikka\bin\main
.gradlew genIntellijRuns
energyNetDevJar
and energyNetJar
,
which can generate Jars without the essential mod.