Skip to content
Matias Bjarland edited this page Dec 6, 2017 · 2 revisions

Setting up forge-clj

Requirements:

  • A computer.
  • Java (look this up somewhere else if you don't have it for some weird reason).

Instructions:

  • Download and extract the Minecraft Forge source stuff (use the link latter if you need help), then after extracting it, download and extract the forge-clj devkit (downloadable on the main github page) into the same folder, when asked to overwrite files, say "yes".

  • Go into the build.gradle file and change a few values, in particular you should find the mod name and change it from "test-mod" to whatever your mod is called. Also make sure that the used forge version is up to date.

  • Set up Minecraft Forge as described here. Note that at the part where you need to choose between Eclipse and IntelliJ IDEA, you don't have to choose either, and it will run fine from there if you are using a different IDE (I personally use lighttable). However, if you're using a Clojure plugin for one of those two like Cursive, you might want to set up the workspace then. Maybe, I haven't tried it myself. If you aren't using that though, you should just stop at that step.

  • You should now have all of the files and folders necessary. Go into the src/main folder, delete the java folder (if you want), and make a folder there called clojure. Then inside the clojure folder, make another folder with your user name, and then another folder in that with your mod name (if your mod uses a '-' in its name, use '_' instead).

  • Inside of this last folder (with your mod name), create a file called "core.clj". From there, you can start modding!

Clone this wiki locally