Back to mods
Leiv's API project artwork

CurseForge · Minecraft mod

Leiv's API

Leiv's API is the mandatory, highly reliable core library that manages configurations, validation, and system rules for all mods created by Leiv.

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

Quick answer

Which Leiv's API release should I use?

Updated 12 days ago
Latest stable file Leiv's API_Forge_1.20.1 (v.1.0.0)
Game version 1.20.1
Loader Forge

Leiv's API_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 1 required mods have matching files.

Where it goes

Is Leiv's API 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 API_Forge_1.20.1 (v.1.0.0) need?

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

All 1 required mods have matching files

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

Leiv's Lib Needed by Leiv's API_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 API without breaking your instance.

Built for Leiv's API_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 API_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 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 API_Forge_1.20.1 (v.1.0.0). It opens that exact file at the source.

About this project

What does Leiv's API add?

🧠 Leiv's API

Leiv's API is the central brain and logical framework of the Leiv Ecosystem Suite.

While Leiv's Lib provides the mathematical and structural foundation, Leiv's API handles the intelligence. It is a pure logic and configuration framework designed to completely eliminate messy, repetitive config code across all my mods. By centralizing settings management, this API ensures that all mods in the Leiv Ecosystem (like ItemCuller and others) are incredibly stable, highly configurable, and perfectly synchronized.

⚠️ PLAYER NOTE: This is a required core dependency for mods within the Leiv Ecosystem. It does not add content on its own, but must be installed alongside any of my utility mods to handle their configurations and logic!

✨ Key Features

  • ⚙️ Centralized Configurations: Instead of every mod reading and writing its own chaotic config files, Leiv's API handles everything through a single, unified system.
  • 💾 Rock-Solid Persistence: Guarantees safe, efficient, and corruption-proof JSON saving and loading directly within your game's config/ folder.
  • 🧩 Seamless Mod Synergy: Creates a standardized ruleset that allows all my mods to communicate their settings seamlessly to each other (and eventually to the GUI).
  • 🛡️ Error-Free Validation: Built-in intelligent validation ensures that invalid config entries or user errors are caught instantly before they can crash the game.

🛠️ Technical Highlights (For Developers & Modpack Creators)

Leiv's API provides a completely decoupled, game-code-free architecture for maximum maintainability:

  • 🧠 The RuleEngine: A robust, 100% unit-testable engine that processes and manages the entire configuration logic without relying on direct game code.
  • 📐 ValueRule<T> System: Generic configuration objects that support built-in validation and dynamic onChange event listeners for instant in-game updates.
  • 📋 RuleLayouts: A powerful system for logically grouping settings into categories, making dynamic UI generation (via Leiv's Config Menu) a breeze.
  • ⏱️ High-Speed I/O: Optimized file reading and writing processes to ensure that loading mod configurations never slows down the game startup.

🔗 Dependencies

To keep the ecosystem clean and modular, this API relies on the foundational framework:

  • Requires: Leiv's Lib (Make sure this is installed!)
  • Used By: Leiv's Network, Leiv's Config Menu, ItemCuller, and all other Leiv Ecosystem end-mods.

💬 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 API 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 API versions and loaders

6 of 6 releases match

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