Silk Compose

Quick rating

Community listing page, reviews here may not be monitored by the author.

Silk Compose

By jakobkmarOwner

No reviews yet

Bringing Kotlin Compose UI to Minecraft

Mod Loaders
Minecraft

About

Description

silk-compose

Silk Compose is a module for SilkMC which makes it possible to use Compose Multiplatform inside Minecraft, both on the server- and the client-side (the latter only planned).

Demo

175798270-089c6a7c-be2b-4f4b-8e5d-dd00371a45fd.gif

Dependency

Development Environment

Silk Compose is available on Maven Central.

modImplementation("net.silkmc:silk-compose:$version")

As a normal user

Download silk-compose from Modrinth to provide it at runtime and add it as a mod.

Usage

The docs can be found on GitHub.

To display a basic UI for a player, do the following:

player.displayComposable(8, 6) {
    YourComposableFunction()
}