Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/qualk/take-care/llms.txt

Use this file to discover all available pages before exploring further.

Take Care is built with Fabric Loom and a Kotlin Gradle DSL build script. During development you launch Minecraft directly from your IDE using the Minecraft Client run configuration — the addon is loaded automatically alongside Meteor Client, so you can iterate without manually moving JAR files. When you’re ready to ship, a single Gradle task produces the distributable JAR.

Prerequisites

  • JDK 25 or later — the jdk version entry in gradle/libs.versions.toml is set to 25; the toolchain block in build.gradle.kts enforces this automatically.
  • IntelliJ IDEA (Community or Ultimate) — the recommended IDE for Minecraft modding with Fabric; it provides first-class Gradle integration and the Minecraft Development plugin.
  • Git — required to clone the repository.

Setup

1

Clone the repository

Run the following command in your terminal to clone Take Care locally:
Terminal
git clone https://github.com/qualk/take-care.git
cd take-care
If you are using Take Care as a template for your own addon, you can instead click Use this template on the GitHub repository page to create a new repository with a clean history.
2

Open in IntelliJ IDEA and let Gradle sync

Open IntelliJ IDEA, choose File → Open, and select the take-care folder. IntelliJ will detect the build.gradle.kts file and trigger an automatic Gradle sync.Gradle downloads Minecraft, Fabric Loader, and the Meteor Client snapshot from the configured Maven repositories:
  • https://maven.meteordev.org/releases
  • https://maven.meteordev.org/snapshots
Wait for the sync to complete (watch the progress bar in the bottom status bar) before running the project.
3

Launch Minecraft with the addon loaded

In the Gradle tool window (or the run configurations dropdown), run the Minecraft Client configuration. This starts a Minecraft client with both Meteor Client and Take Care loaded. You can test module behaviour, commands, and HUD elements in real time without building a JAR.
4

Build the distributable JAR

When you are ready to distribute or deploy your addon, run the Gradle build task:
Terminal
./gradlew build
The output JAR is written to build/libs/. Copy it to the mods folder of your Minecraft installation alongside the Meteor Client mod JAR to use it in a normal game session.

Version catalog

All dependency versions are managed in a single file, gradle/libs.versions.toml, rather than scattered across build.gradle.kts. This makes version bumps straightforward — see Updating Minecraft for the full update workflow.
gradle/libs.versions.toml
[versions]
mod-version = "0.1.0"

# Fabric (https://fabricmc.net/develop)
jdk = "25"
minecraft = "26.1.2"
fabric-loader = "0.19.3"

# Loom (https://github.com/FabricMC/fabric-loom)
loom = "1.16-SNAPSHOT"

# Meteor (https://github.com/MeteorDevelopment/meteor-client/)
meteor = "26.1.2-SNAPSHOT"

Build properties

Additional build properties such as the Maven group and archive base name are stored in gradle.properties:
gradle.properties
maven_group=kpn.qualk
archives_base_name=takecare
These values are referenced inside build.gradle.kts via properties["maven_group"] and properties["archives_base_name"].

Build docs developers (and LLMs) love