
Silk Compose
Bringing Kotlin Compose UI to Minecraft
- Загрузки
- 1K
- Подписчики
- 10
- Обновлён
- 1 сентября 2022 г.
- Лицензия
- AGPL-3.0-only
Опубликован 25 июня 2022 г.
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 can be found on GitHub.
To display a basic UI for a player, do the following:
player.displayComposable(8, 6) {
YourComposableFunction()
}
Ченджлог
1.0.3Релиз1.19.1, 1.19.2 · 1 сентября 2022 г.
New Features
- added
backgroundColorargument toplayer.displayComposable
Color Corrections
- color conversion has been improved
- transparency is now supported
Dependency Updates
- updated to compose-jb to
1.2.0-alpha01-dev774 - updates to Silk 1.9.2 and Minecraft 1.19.2
Improvements
- gui chunks are now processed, fixing the performance with guis where a lot of parts change at once
Fixes
- maps will now be cleared on creation and destruction
- more robust gui close cleanup
1.0.1Релиз1.19 · 24 июля 2022 г.
No changelog was specified.
1.0.0Релиз1.19 · 26 июня 2022 г.
No changelog was specified.
Комментарии
Загружаем…