The Java JDK is used to compile Schematica.
- Download and install the Java JDK.
- Windows/Mac download link.
- Linux: Installation methods for certain popular flavors of Linux are listed below. If your distribution is not
listed, follow the instructions specific to your package manager or install it
manually here.
- Archlinux:
pacman -S jdk21-openjdk
- Archlinux:
- Set up the environment.
- Windows: Set environment variables for the JDK.
- Go to
Control Panel\System and Security\System, and click onAdvanced System Settingson the left-hand side. - Click on
Environment Variables. - Under
System Variables, clickNew. - For
Variable Name, inputJAVA_HOME. - For
Variable Value, input something similar toC:\Program Files\Java\jdk1.7.0_45exactly as shown (or wherever your Java JDK installation is), and clickOk. - Scroll down to a variable named
Path, and double-click on it. - Append
;%JAVA_HOME%\binEXACTLY AS SHOWN and clickOk. Make sure the location is correct; double-check just to make sure.
- Go to
- Windows: Set environment variables for the JDK.
- Open up your command line and run
javac. If it spews out a bunch of possible options and the usage, then you're good to go. If not try the steps again.
Git is used to clone Schematica and update your local copy.
- Download and install Git here.
- Optional Download and install a Git GUI client, such as GitHub for Windows/Mac, SmartGitHg, TortoiseGit, etc. A nice list is available here.
This section assumes that you're using the command-line version of Git.
- Open up your command line.
- Navigate to a place where you want to download Schematica's source (eg
C:\Development\Github\Minecraft\) by executingcd [folder location]. This location is known asmcdevfrom now on. - Execute
git clone https://github.com/TimMayr/Schematica-Modern.git. This will download Schematica's source intomcdev. - Download and build LunatriusCore-Modern. Then copy both of the files in build/libs to the libs folder in this project
- Right now, you should have a directory that looks something like:
mcdev
\-Schematica
\-Schematica's files (should have build.gradle)
- Import the gradle project in an ide like intellij
- Run the build task
- Go to
mcdev\Schematica-Modern\build\libs.- You should see a
.jarfile namedSchematica-#.#.#-#.#.#.#.jar.
- You should see a
- Copy the jar into your Minecraft mods folder, and you are done!
- Alternatively you can use the Client run configuration in your ide
In order to get the most up-to-date builds, you'll have to periodically update your local repository.
- Open up your command line.
- Navigate to
mcdevin the console. - Make sure you have not made any changes to the local repository, or else there might be issues with Git.
- If you have, try reverting them to the status that they were when you last updated your repository.
- Execute
git pull master. This pulls all commits from the official repository that do not yet exist on your local repository and updates it.
Shamelessly based this README off pahimar's version.