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
Textobjects - coroutine utilities and tasks
- kotlinx.serialization support for Minecraft classes
- a scoreboard (sideboard) API
ItemStackutilities- 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.
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.
How to Install Silk (Mod)
Silk by jakobkmar is verified for Fabric across Minecraft versions 1.16.5, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2 (latest release: 1.12.1, file size: 858 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.16.5, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Silk file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 4 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
|
R
1.11.1
|
2mo ago | 1 | |||
|
R
1.11.0
|
2mo ago | 1 | |||
|
R
1.10.7
|
2mo ago | 1 | |||
|
R
1.10.6
|
2mo ago | 1 | |||
|
R
1.10.5
|
2mo ago | 1 | |||
|
A
1.10.4
|
2mo ago | 1 | |||
|
R
1.10.3
|
2mo ago | 1 | |||
|
R
1.10.2
|
2mo ago | 1 | |||
|
R
1.10.1
|
2mo ago | 1 | |||
|
R
1.10.0
|
2mo ago | 1 | |||
|
R
1.9.8
|
2mo ago | 1 | |||
|
R
1.9.7
|
2mo ago | 1 | |||
|
R
1.9.6
|
2mo ago | 1 | |||
|
R
1.9.5
|
2mo ago | 1 | |||
|
R
1.9.4
|
2mo ago | 1 | |||
|
R
1.9.2
|
2mo ago | 1 | |||
|
B
1.9.1
|
2mo ago | 1 | |||
|
R
1.9.0
|
2mo ago | 1 | |||
|
R
1.8.1
|
2mo ago | 1 | |||
|
R
1.8.0
|
2mo ago | 1 | |||
|
R
1.7.4
|
2mo ago | 1 | |||
|
R
1.7.3
|
2mo ago | 1 | |||
|
R
1.7.2
|
2mo ago | 1 | |||
|
R
1.7.1
|
2mo ago | 1 | |||
|
R
1.7.0
|
2mo ago | 1 | |||
|
R
1.6.2
|
2mo ago | 1 | |||
|
R
1.6.1
|
2mo ago | 1 | |||
|
R
1.6.0
|
2mo ago | 1 | |||
|
R
1.5.3
|
2mo ago | 1 | |||
|
R
1.5.2
|
2mo ago | 1 | |||
|
R
1.5.1
|
2mo ago | 1 | |||
|
R
1.5.0
|
2mo ago | 1 | |||
|
R
1.4.4
|
2mo ago | 1 | |||
|
R
1.4.3
|
2mo ago | 1 | |||
|
R
1.4.2
|
2mo ago | 1 | |||
|
R
1.4.1
|
2mo ago | 1 | |||
|
R
1.4.0
|
2mo ago | 1 | |||
|
R
1.3.1
|
2mo ago | 1 | |||
|
R
1.3.0
|
2mo ago | 1 | |||
|
R
1.2.2
|
2mo ago | 1 | |||
|
R
1.2.1
|
2mo ago | 1 | |||
|
R
1.2.0
|
2mo ago | 1 | |||
|
B
0.1.1
|
2mo ago | 1 |
- Support 26.3
- 26.2
- Left/Right Click in GuiActionType ([#91 by kxmpxtxnt](https://github.com/SilkMC/silk/pull/91))
- Add Minecraft 26.1 support
- updated to 1.21.11
- updated to 1.21.9
- updated to 1.21.8
- updated to **Minecraft 1.21.6**
- updated to **Minecraft 1.21.5**
- updated to **Minecraft 1.21.4**
- updated to **Minecraft 1.21**
- updated to **Kotlin 2.0.0**
- deprecated
Minecraft.serverPathextension property in favor of new Minecraft variableMinecraftServer.serverDirectory
- persistence: ensure that
CompoundSavedDataalways saves to world.datfile
- temporary fix: the constant
Style.DEFAULT_FONTfield won't get reobfuscated, which caused an issue with text builders at runtime - fix: return type of
ServerPlayer.serverWorldwas onlyLevel, now it isServerLevel
- updated to **Minecraft 1.20.5** by @MushroomMif
- Added
setItemNamefunction inItemBuilderto easily setminecraft:item_nameitem component using Silk text builder setPotionfunction inItemBuildernow takesHolder<Potion>instead ofPotionas potions are now registered usingregisterForHoldermethod which returnsHolder<Potion>- Sideboard internals was updated to remove scoreboard teams hack and use new
displayfield instead - You can now specify which number format sideboard will use by new
numberFormatproperty in thesideboardfunction, it isBlankFormatby default - now using **Kotlin 1.9.23**
setSkullPlayernow accepts a playeruuidand/or playernameand/ortexture(notably allowing you to set a skull texture just by name)- you can now specify any
BinaryFormatinsilk-network(previously only Cbor)
### Internal Changes
silk-networknow uses a FallbackProvider to inject a stream codec provided by each type of packet definition- each custom silk-network packet still corresponds exactly to a custom payload packet with the given idea
- duplicated packet IDs will now result in a warning if they clash on lookup
silk-persistencenow migrates the legacyfabrikmcDatatag from nbt and level data to the newsilkmc_persistent_datatag
- updated to **Minecraft 1.20.4** by @MushroomMif
- updated to **Kotlin 1.9.21**
- sideboards now use the new scoreboard API by @MushroomMif
- red numbers are no longer displayed on the right