Silk
by jakobkmar
Silk is a Kotlin API for Minecraft that targets Fabric, Quilt and Paper, offering inventory, command, text, scoreboard and serialization helpers for mod developers.
What it does
Silk gives Kotlin developers building blocks for Minecraft mods. It bundles an inventory screen toolkit, a Kotlin layer over Brigadier command registration, and a DSL for assembling styled Text objects. Coroutine utilities and task helpers run asynchronous work, and kotlinx.serialization covers Minecraft classes and any class saved to NBT.
Installation needs Fabric API and Fabric Language Kotlin on Fabric. Silk is a library that other mods depend on: 13 catalog mods require it, including BlueMap Marker Manager, Spotify Overlay, Superman, MWeb - File Sharing and Server Toolbox. Either side can load it, and neither side needs it. Files exist for 1.16.5 – 26.3 with Fabric as the only loader, and the latest Fabric file is 1.12.1 for 26.3. The code is under the GNU General Public License v3.0 only and is open source, with public links to the source code and issue tracker.
Key features
Inventory GUI API
A Kotlin API for building inventory screens, so mod authors can create menus without writing the screen plumbing by hand.
Brigadier wrapper
A Kotlin wrapper for Brigadier that simplifies defining command trees in Kotlin code.
Text DSL
A Kotlin domain-specific language for building complex Text objects with styles and nested components.
Coroutines and tasks
Coroutine utilities and task helpers for running work in Kotlin coroutines alongside the game loop.
Scoreboard API
A sideboard scoreboard API for creating and updating scoreboard displays from Kotlin code.
Serialization
kotlinx.serialization support for Minecraft classes, plus serialization of any class to NBT.
Gallery
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x1 of 1 version with builds
1.16.x1 of 1 version with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Required by 13 mods
Use cases
Kotlin mod development
Developers writing mods in Kotlin can use Silk's wrappers and DSLs in place of hand-written boilerplate for menus, commands and text.
Server-side tools
Server mods that display scoreboards, run background tasks or store data in NBT can draw on Silk's helpers.
Who it’s for: Kotlin developers building mods for Fabric, Quilt or Paper, and server owners whose installed mods require Silk.
How it compares
KInventory is a Fabric inventory library for 1.16.5, client or server optional, under the MIT License and open source. Brigadier Extras is a Fabric server-side only mod for 1.21.1 – 1.21.5 under the GNU General Public License v3.0 only, also open source. scafall is a Fabric library for 26.1.2 – 26.2 under the MIT License, with no environment stated.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Silk | Fabric | 1.16.5 – 26.3 | Client or server, optional | 2026-09-28 |
| KInventory | Fabric | 1.16.5 | Client or server, optional | 2021-05-14 |
| Brigadier Extras | Fabric | 1.21.1 – 1.21.5 | Server-side only | 2025-04-11 |
| scafall | Fabric | 26.1.2 – 26.2 | Not published | 2026-06-21 |
Questions
Does Silk need Fabric API to run?
Does Silk have to be installed on the server?
Which game versions does Silk support?
In the catalog
Silk is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 8,071 mods support Minecraft 26.3.
More from jakobkmar
Similar mods
What the author says
Silk [*[sɪlk]*]( is a Minecraft API for Kotlin - targetting Fabric, Quilt and Paper. The docs link can be found on Silk GitHub.
Official listing
- Modrinth page
- modrinth.com/mod/silk
- Owner
- jakobkmar
- Published
- 2021-03-03
- Updated on Modrinth
- 2026-09-28
- Facts verified
- 2026-10-15
