Back to mods
Leiv's Network Lib project artwork

CurseForge · Minecraft mod

Leiv's Network Lib

Leiv's Network Lib is a lightweight, ultra-performant networking library that acts as a mandatory backbone to sync server settings and data seamlessly across all of Leiv's Minecraft mods without causing lag.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Leiv's Network Lib release should I use?

Updated yesterday
Latest stable file Leiv's Network Lib_Forge_1.20.1 (v.1.0.0)
Game version 1.20.1
Loader Forge

Leiv's Network Lib_Forge_1.20.1 (v.1.0.0) targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 2 required mods have matching files.

Where it goes

Is Leiv's Network Lib required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Leiv's Network Lib_Forge_1.20.1 (v.1.0.0) need?

Leiv's Network Lib_Forge_1.20.1 (v.1.0.0). Change the file and its required mods may change too.

All 2 required mods have matching files

Install Leiv's API, Leiv's Lib first. We found matching files for this game-version and loader setup.

Leiv's API Needed by Leiv's Network Lib_Forge_1.20.1 (v.1.0.0)
required
Matching file found Matched file: Leiv's API_Forge_1.20.1 (v.1.0.0)
Leiv's Lib Needed by Leiv's Network Lib_Forge_1.20.1 (v.1.0.0)
required
Matching file found Matched file: Leiv's Lib_Forge_1.20.1 (v.1.0.0)

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Leiv's Network Lib without breaking your instance.

Built for Leiv's Network Lib_Forge_1.20.1 (v.1.0.0). Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Leiv's Network Lib_Forge_1.20.1 (v.1.0.0). It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Leiv's API, Leiv's Lib first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Leiv's Network Lib_Forge_1.20.1 (v.1.0.0). It opens that exact file at the source.

About this project

What does Leiv's Network Lib add?

🌐 Leiv's Network Lib

Leiv's Network Lib is the synchronization backbone of the Leiv Ecosystem Suite.

While my other libraries handle math and logic, this library ensures that the server and client talk to each other flawlessly. It is an ultra-performant networking framework built to synchronize feature flags, settings, and timers across the network instantly—without ever causing server lag. It ensures that mods like ItemCuller and others behave exactly as the server dictates, providing a seamless multiplayer experience.

⚠️ PLAYER NOTE: This is a required core dependency for mods within the Leiv Ecosystem. It does not add content or items on its own, but must be installed to ensure my utility mods sync correctly on multiplayer servers!

✨ Key Features

  • ⚡ Ultra-Fast Synchronization: Designed for high-speed, synchronous client-server data exchange that guarantees players instantly receive the correct mod settings when joining a server.
  • 🛡️ Zero Server Lag: Highly optimized payload handling ensures that network traffic is kept to an absolute minimum, protecting server TPS (Ticks Per Second).
  • 🧩 Seamless Ecosystem Integration: Works hand-in-hand with Leiv's API. Network flags pushed by the server are automatically and seamlessly injected into the client's RuleEngine.
  • 🔄 Instant Async Mirroring: The client efficiently mirrors received data in the background, updating active states without stalling the main game thread.

🛠️ Technical Highlights (For Developers & Modpack Creators)

Leiv's Network Lib abstracts complex networking pipelines into a developer-friendly, highly robust system:

  • 📡 LeivSyncServer: A powerful server-side manager that allows developers to push essential key-value pairs, timers, and feature flags to connected clients effortlessly.
  • 🪞 LeivSyncState: An asynchronous, highly optimized client-side state holder. It instantly merges received payload values with a minimal memory footprint.
  • ⚙️ Auto-Flag Injection: Network flags (using the flag: prefix) are automatically intercepted and injected into the client’s local configuration engine without requiring messy manual packet handling.
  • 🔌 Version-Agnostic Design: The underlying CustomPayload system is heavily abstracted to allow for rapid porting across different loaders and game versions.

🔗 Dependencies

This library bridges the gap between the foundational code and the logic engine:

  • Requires: Leiv's Lib & Leiv's API (Make sure both are installed!)
  • Used By: ItemCuller and all other Leiv Ecosystem end-mods that require multiplayer sync.

💬 Community & Support

Got questions, feedback, or need to report a bug? Join the community!

  • 👥 Discord: Join Leiv's Community
  • 🐛 Issue Tracker: Report bugs via the official Discord ticket system.

Project description from CurseForge.

Pick your setup

Leiv's Network Lib by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

5 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Leiv's Network Lib versions and loaders

6 of 6 releases match

Looking for an older file? The official CurseForge project page is in Resources.