O O kowo-lib Mod (1.21.11, 1.21.1) – Write Cleaner Kotlin UI Screens
O O kowo-lib Mod extends owo-lib with cleaner Kotlin DSL syntax for building custom Minecraft user interfaces. This library mod simplifies how you write UI screens, attach child components to parent layouts, set padding, and trigger sizing animations inside Kotlin projects. It runs directly on top of owo-lib and uses Kotlin context parameters to keep screen code short and easy to read.
![]()
Features:
- Kotlin UI DSL: Provides Kotlin builder blocks such as
root,padding, andonPressthrough thexyz.bonfiremc.kowo.dsl.*package. - Simplified Child Components: Uses the unary
+operator with calls like+stack,+button, and+labelto add child widgets straight into a parent component. - Sizing And Animation Helpers: Offers shorthand values like
75.filland50.fillalongside clean animation calls such ashorizontalSizing().animate(...)andanimation.reverse(). - Works with
BaseOwoScreen,FlowLayout,OwoUIAdapter, and panel surfaces likeSurface.panelWithInset. - Provides
.literaland.styledtext helpers for writing button and label text cleanly in Kotlin. - Pairs with
owo-configwhen you include the owo-lib annotation processor in your build file. - Requires owo-lib as a library dependency to load and render custom screens.
Configuration:
-Xcontext-parameters: Required Kotlin compiler flag added tokotlin.compilerOptions.freeCompilerArgsinsidebuild.gradleso the DSL compiles properly.
How to Use:
- Add this library and owo-lib to the dependencies section of your
build.gradlefile, along with the owo-lib annotation processor if you useowo-config. - Add
-Xcontext-parameterstofreeCompilerArgsinside your KotlincompilerOptionsblock inbuild.gradle. - Import
xyz.bonfiremc.kowo.dsl.*in your Kotlin screen class that extendsBaseOwoScreen<FlowLayout>. - Define your layout inside the
rootblock using+stack,+button,+label,padding, andonPressto assemble screens and UI animations.
How to Install:
New to Minecraft? Follow our step-by-step guide to install Mods on your PC.View Guide
Requirements:
Fabric Loader Required
Fabric API Required
Quilt Installer Required
Fabric Language Kotlin Mod Required
O O kowo-lib Mod Download Links
For Minecraft
1.21.11,
1.21.10,
1.21.9
All Versions Covered
1.21.11
1.21.10
1.21.9
1.21.8
1.21.7
1.21.6
1.21.5
1.21.4
1.21.1
1.21
For Minecraft
1.21.8,
1.21.7,
1.21.6
All Versions Covered
1.21.8
1.21.7
1.21.6
1.21.5
How do you handle updating your mods when a new Minecraft version drops?
15 responses · See the full results →
0
















This post has no comments yet. Be the first — your comment will appear here.