
ModsJava
κoωo (kowo-lib)
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
![]()
Fancy™ kotlin syntax for oωo-lib
Setup
In your build.gradle file, add these lines:
repositories {
maven { url "https://api.modrinth.com/maven" }
maven { url "https://maven.wispforest.io/releases" }
}
dependencies {
modImplementation include("maven.modrinth:kowo-lib:0.12.20b+1.21.5")
modImplementation "io.wispforest:owo-lib:0.12.20+1.21.5"
// only if you plan to use owo-config
// annotationProcessor "io.wispforest:owo-lib:0.12.20+1.21.5"
}
kotlin {
compilerOptions {
freeCompilerArgs.add("-Xcontext-parameters")
}
}
Example usage
import xyz.bonfiremc.kowo.dsl.*
class SizingTestKuwuScreen : BaseOwoScreen<FlowLayout>() {
override fun createAdapter(): OwoUIAdapter<FlowLayout> {
return OwoUIAdapter.create(this, ::verticalFlow)
}
override fun build(rootComponent: FlowLayout) {
root {
verticalAlignment = VerticalAlignment.CENTER
horizontalAlignment = HorizontalAlignment.CENTER
+stack(Sizing.content(), Sizing.content()).apply {
padding {
all(15)
}
horizontalAlignment = HorizontalAlignment.CENTER
surface = Surface.panelWithInset(6)
val animation: Animation<Sizing> = horizontalSizing().animate(500, Easing.CUBIC, 75.fill)
+button("initialize sizenite".literal).apply {
horizontalSizing = 50.fill
onPress {
animation.reverse()
}
}
}
+label("bruh".literal.styled { it.withClickEvent(ClickEvent.OpenUrl(URI.create("https://wispforest.io"))) })
}
}
}
More examples on GitHub
TODO
- Simplified way to add child to parent component
- More examples
- Styling with MSS (Minecraft Style Sheets)
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21.5, 1.21.6, 1.21.7
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as kowo-0.12.20b+1.21.5.jar — drop this file into the mods folder
- Download size: 30 KB
- Download link checked 31 Aug 2026 — working
These come from our own check of the pack file, not from the source page.