← Назад к ресурсам

Silk

Kotlin Minecraft API - targetting Fabric, Quilt and Paper

Modrinth library utility

Описание

Silk [*[sɪlk]*](https://www.oxfordlearnersdictionaries.com/media/english/us_pron_ogg/s/sil/silk_/silk__us_1.ogg) is a Minecraft API for [Kotlin](https://kotlinlang.org/) - targetting [Fabric](https://fabricmc.net/), [Quilt](https://quiltmc.org/) and [Paper](https://papermc.io/). Join our [Discord](https://discord.gg/CJDUVuJ) or [Matrix Space](https://matrix.to/#/#kotlinmc:axay.net) _____ 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 link can be found on [**Silk GitHub**](https://github.com/SilkMC/Silk). 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**](https://www.gnu.org/licenses/gpl-3.0), while older versions below 1.5.1 of (at that time FabrikMC) have been shared under the [Apache-2.0 License](https://www.apache.org/licenses/LICENSE-2.0).