What are you searching for?

Silk
Silk

Silk

Kotlin Minecraft API - targetting Fabric, Quilt and Paper

download 3.1M Downloads · favorite 688 Followers · Updated 1 month ago
Fabric Library Utility 1.16.5 1.17.1 1.18 1.18.1 1.18.2 +24 more

Versions

inventory_2
Silk 1.11.5

1.11.5 · 1 month ago · 870.98 KB

Release download
Fabric 1.21.11
inventory_2
Silk 1.11.4

1.11.4 · 4 months ago · 869.81 KB

Release download
Fabric 1.21.9 1.21.10
inventory_2
Silk 1.11.3

1.11.3 · 5 months ago · 858.21 KB

Release download
Fabric 1.21.8
inventory_2
Silk 1.11.2

1.11.2 · 7 months ago · 858.21 KB

Fabric 1.21.6 1.21.7 1.21.8
inventory_2
1.11.1

1.11.1 · 10 months ago · 857.96 KB

Release download
Fabric 1.21.5

Gallery

About

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.

Note: Currently, the ingame ID of the wrapper mod is silk-all

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.

open_in_new View on Modrinth
Compatibility
Client: Optional Server: Optional
gavel GPL-3.0-only

Conversation

What are your thoughts?

Related projects

Library
Fabric API
Fabric API

by modmuss50

Lightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.

download 127.9M
favorite 27,365
Library
Cloth Config API
Cloth Config API

by shedaniel

Configuration Library for Minecraft Mods

download 94.0M
favorite 13,653
Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.0M
favorite 12,704
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 77.4M
favorite 22,097
lock Cookie consent

SkinMC uses cookies to provide functionality and features.