CurseForge · Minecraft mod
Clojure Command Language
Adds a turing-complete wrapper around the command system with clojure
Quick answer
Which Clojure Command Language release matches 1.12.2?
Clojure Command Language clojurecommandlanguage-1.0.1.jar targets 1.12.2. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Clojure Command Language required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Clojure Command Language clojurecommandlanguage-1.0.1.jar need?
clojurecommandlanguage-1.0.1.jar on 1.12.2. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Clojure Command Language without breaking your instance.
Built for Clojure Command Language clojurecommandlanguage-1.0.1.jar on 1.12.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use clojurecommandlanguage-1.0.1.jar. It targets 1.12.2; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside clojurecommandlanguage-1.0.1.jar. It opens that exact file at the source.
About this project
What does Clojure Command Language add?
Clojure Command Language is a simple turing-complete wrapper for the minecraft command system using the Clojure programming language. This means that you are allowed to use things like variables, loops, conditionals, and more to execute templates of commands
There are two basic commands: /ccl and /cclfile
First is /ccl which provides access to a clojure command line. I don't recommend using this for executing commands though, as it can get quite messy (see last example in this section). Minecraft doesn't allow any slashes in commands beyond the first character, so please use '|' instead and a slash will be substituted back in before evaluation.
/ccl 0
=> 0
/ccl (+ 3 2)
=> 5
/ccl (defn double-it [n] (* 2 n))
=> #'clojure.core/double-it</p>
/ccl (def x 5)
=> #'clojure.core/x</p>
/ccl (double-it x)
=> 10
/ccl (let [y (+ 2 5)] (lib|exec ["say " y]))
=> [playername] 7
The second command is /cclfile which will probably be more useful. Upon first load the mod will create a directory called 'ccl_scripts' in your modpack parent directory (not /config/) where you can put your *.clj scripts. No reloading is required; once you save a file it is ready to use.
If you have a file, let's say, at path /my_modpack/ccl_scripts/sayhi.clj
you would call it by using the command /cclfile sayhi
Here is an example to demonstrate the power of the mod
makeline.clj
(dotimes [x 50]
(let [meta (mod x 15)]
(lib/exec ["setblock ~" x " ~0 ~1 wool " meta])))


I recognize that Clojure isn't everyones cup of tea, but at the present I have no intention of changing the language or supporting additional languages.
If you would like help or you just want to hang out and chat about the mod you are welcome to join my discord server
Project description from CurseForge.
Pick your setup
Clojure Command Language by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Clojure Command Language versions and loaders
clojurecommandlanguage-1.0.1.jar
4 Apr 2019
clojurecommandlanguage-1.0.0.jar
14 Feb 2019
Looking for an older file? The official CurseForge project page is in Resources.
