Compose API

Quick rating

Compose API

No reviews yet

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

Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
Creative Commons Zero v1.0 Universal
Latest Version
1.3.0
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

About

Description

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

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works