CT v4.3.0 / open source

Every line is public.

The complete source of CT-Main and all 13 feature modules is published on this site — browsable file by file, or as one archive.

Browse

Read the code online

The code/ folder on this site mirrors the repository exactly: one folder per Maven module, with its pom.xml, manifest, tests, and every Java file.

01 / HOST

ct-main

The module host: scanning, dependency sorting, the service registry, the welcome window, and the command dispatcher.

02 / CORE

installer & versions

Verified downloads, asset planning, the runtime installer, and the official version catalog.

03 / LAUNCH

launcher & rules

Argument expansion, JVM flags, profile routing, and Mojang rule evaluation.

04 / ACCOUNTS

accounts

Device code sign-in through Xbox Live and Minecraft services, plus the offline profile.

05 / UI

theme & console

The hand-drawn dark interface: every visible control painted in-project, no look-and-feel dependency.

06 / MODS

ctloader & modman

The CT mod API, dependency-ordered mod loading, and the mod manager for the mods folder.

Download the complete source archive

CT-Platform-4.3.0-src.zip — CT-Main, all modules, every pom, and the license. data-source-download resolves the current file name automatically.

Build

Build it yourself

The build needs JDK 21 or later and nothing else — the Maven wrapper downloads the rest on first use.

unzip CT-Platform-4.3.0-src.zip
cd CT-Platform-4.3.0
./mvnw package

The build produces ct-main/target/CT-Main-<version>.jar and one jar per module in ct-module-*/target/. All unit tests run during the build; the same commands that verify a release are the ones you run at home.

To run your own build, point CT-Main at a modules folder:

mkdir modules
cp ct-module-*/target/ct-module-*.jar modules/
java -jar ct-main/target/CT-Main-<version>.jar --modules-dir modules
License

Terms

CT's own code is open source; read the license page for the exact terms. The only third-party dependency is Gson, shaded into CT-Main and the CT loader jar; its license is included in the source archive. CT downloads Minecraft files only from Mojang's official endpoints and never distributes game content.