Compose API

Compose API

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

by
103 Downloads
fabricutility
Rent Server with this Mod

About this Mod

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

Available Versions

Compose API 1.3.0release
MC 26.1.2fabric
May 31, 2026

How to Install Compose API on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Compose API". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

26.1.2, 1.21.11

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Compose API server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.

Is Compose API compatible with fabric?

Compose API officially supports fabric for Minecraft 26.1.2, 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Compose API – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Compose API consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Compose API with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Creative Commons Zero v1.0 Universal
Server-side
Unsupported

Supported Versions

26.1.21.21.11