netlib
Kotlinx Serialization for Minecraft Payloads.
Features
- Kotlinx Serialization encoder/decoder for Minecraft's FriendlyByteBuf/PacketByteBuf.
- Abstract
SerializedPayloadfor easy packet creation. - Support for both Fabric and NeoForge loaders.
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 {
// Fabric
include("dev.wanderia:netlib-fabric:$version")
modImplementation("dev.wanderia:netlib-fabric:$version")
// NeoForge
jarJar(implementation("dev.wanderia:netlib-neoforge")) {
version {
strictly("[$version,)")
prefer("$version")
}
}
}
See the testmod for example usage.
Attribution
Logo icon by Iconoir which is licensed under MIT.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as netlib-fabric-1.3.1.jar — drop this file into the mods folder
- Download size: 367 KB
- Download link checked 31 Aug 2026 — working
These come from our own check of the pack file, not from the source page.
