nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
Silk Compose

Silk Compose

Mod

Bringing Kotlin Compose UI to Minecraft

Client or server Library

597 downloads
10 followers

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

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 are located at silkmc.net/silk-compose/docs.

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

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

External resources


Project members

jakobkmar

Owner


Technical information

License
AGPL-3.0-only
Client side
optional
Server side
optional
Project ID