nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
netlib

netlib

Mod

Kotlinx Serialization for custom payloads.

Client and server Library

859 downloads
1 follower

GitHub Actions Workflow Status Modrinth Version Discord

netlib

Kotlinx Serialization for Minecraft Payloads.

Features

  • Kotlinx Serialization encoder/decoder for Minecraft's FriendlyByteBuf/PacketByteBuf.
  • Abstract SerializedPayload for 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.

External resources


Project members

Wanderia

Wanderia

Organization

Pyrrha

Project Head


Technical information

License
Client side
required
Server side
required
Project ID