Back to mods
Compose API project artwork

Modrinth · Minecraft mod

Compose API

Compose API is an API that imports the dependencies required for JetBrains' technology called Compose. Required for the Voxel Studio Pro project.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Compose API release matches 26.1.2?

Updated 2 months ago
Best match for your filters 1.3.0
Game version 26.1.2
Loader Fabric

Compose API 1.3.0 targets 26.1.2 with Fabric. It must be installed on the client. Do not install it on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Compose API required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does Compose API 1.3.0 need?

1.3.0 on 26.1.2. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric Language Kotlin first. We found matching files for this game-version and loader setup.

Fabric Language Kotlin Needed by Compose API 1.3.0
required
Matching file found Matched file: 1.13.13+kotlin.2.4.10

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Compose API without breaking your instance.

Built for Compose API 1.3.0 on 26.1.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.3.0. It targets 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric Language Kotlin first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.3.0. It opens that exact file at the source.

About this project

What does Compose API add?

Compose API - Fabric

Compose API, imports the dependencies required for JetBrains technology called Compose.
This mod does not add any features on its own.

Delimeter

Why ?

Compose is a technology I'll be using in a major upcoming mod that has been in development for years.

With the following benefits :

  • No need to include it in your mods.
  • Can be reused by multiple mods.
  • Supports MacOS ARM, Windows x64, and Linux x64.
  • Includes a minimal API that disables Compose if unavailable.
  • Avoids re-downloading Compose entirely when mods that use it are updated.
  • Compose has an interesting Vulkan-compatible backend

Delimeter

Voxel Studio Pro :

In future mods it will allow integrating an in-game interface similar to Hytale's asset editor, or to Unity/Unreal Engine. A game editor built into the game, which can be used either:

  • For players, Customize your gameplay experience.
  • For developers, making it much easier to develop datapack/resource pack/mods content and manage modpacks.
  • For game designer, Easily adjust the game balancing without bothering the developers, Amazing for a server.

Delimeter

How to install

JetBrains Compose uses Kotlin, so don't forget to install the mods.

Step one - Add Modrinth to your gradle repository :
repositories {
    maven {
        name = "Modrinth"
        url = "https://api.modrinth.com/maven"
        content {
            includeGroup "maven.modrinth"
        }
    }
}
Step two - Add Compose to your Gradle Dependencies

compose.desktop.currentOs is a helper from the Compose Gradle plugin that resolves to the Compose Desktop artifact matching the host OS at build time, pulling in the right native Skia/Skiko

// Change the version if needed
modImplementation "maven.modrinth:compose-api:1.2.0"
implementation compose.desktop.currentOs

If you prefer to specify the Compose API versions in gradle.properties, you can use a variable modImplementation "maven.modrinth:compose-api:${project.compose_api_version}"
With the version in gradle.properties compose_api_version=1.2.0

Step three - Add Jetbrains Plugin in Grandle
plugins {
    // ... Your Kotlin/Loom
    id 'org.jetbrains.kotlin.plugin.compose' version '2.3.10'
    id 'org.jetbrains.compose' version '1.9.1'
}

Delimeter

What does it contain?

This mod contains all the dependencies required for Compose to work on MacOS ARM, Windows x64, and Linux x64. It can be used by any other modder.
It does not include Kotlin dependencies to avoid downloading them twice, with the Fabric Kotlin mods.

This mod gives you access to :

  • The androidx.compose.* API.
  • The Jetbrains Skia org.jetbrains.skia API

ComposeAPI.isAvailable function, which checks whether the operating system is compatible. This allows mod developers to simply disable their composite interfaces if the user's system is not compatible.

Everything else is available in the documentation from Google and JetBrains, the creators of Compose.
You'll find tons of tutorials on YouTube or on Claude/Codex.

Compose Jetbrains - Official

Compose Desktop - JetBrains

Jetpack Compose - Google

Delimeter

Support the Project

Join us on Patreon and help make Minecraft an even more amazing experience for everyone!
I make tools for creators, players, and modders. And new contents datapacks or mods.

Patreon

Project description from Modrinth.

Pick your setup

Compose API by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Compose API versions and loaders

1 of 3 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.