Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Fabric
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Details
netlib
Kotlinx Serialization for Minecraft Payloads.
Features
- Kotlinx Serialization encoder/decoder for Minecraft's FriendlyByteBuf/PacketByteBuf.
- Abstract
SerializedPayload
for easy packet creation.
Developer Usage
This project is intended to be included via Jar-in-Jar.
netlib is available on the wanderia maven.
repositories {
maven("https://maven.wanderia.dev/releases") { name = "Wanderia" }
}
dependencies {
include("dev.wanderia:netlib:$version")
modImplementation("dev.wanderia:netlib:$version")
}
See the testmod for example usage.
Attribution
Logo icon by Iconoir which is licensed under MIT.