Compatibility
Minecraft: Java Edition
1.21–1.21.1
1.20.x
1.19.x
1.18.x
1.17.1
1.16.5
Platforms
Fabric
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed GPL-3.0-only
Published 3 years ago
Updated 6 months ago
Silk [sɪlk]
is a Minecraft API for Kotlin - targetting Fabric, Quilt and
Paper.
Join our Discord or Matrix Space
Features of the API:
- an inventory GUI API
- a Kotlin wrapper for Brigadier
- a Kotlin DSL for creating complex
Text
objects - coroutine utilities and tasks
- kotlinx.serialization support for Minecraft classes
- a scoreboard (sideboard) API
ItemStack
utilities- serialization of any class to NBT with kotlinx.serialization
- an NBT builder
- an API for storing persistent data on Chunks, Entities etc
- kotlinx.serialization based networking (packets c2s, s2c and c2c)
- Kotlin Compose UI support
- general extensions for Entities, Worlds and more
- geometry utilities
Docs
The docs are located at silkmc.net/silk/docs.
Read them to get started with each module and see how to add it to your Gradle project.
License
Current versions of Silk are available under the GPL-3.0, while older versions below 1.5.1 of (at that time FabrikMC) have been shared under the Apache-2.0 License.