CodeLib

CodeLib

A Minecraft Fabric API/Library that provides useful features.

by
1.1K Downloads
fabricquiltlibraryutility
Rent Server with this Mod

Screenshots

cool ancient city

About this Mod

codelib

yeahh!! this is the fabric library mod that i sometimes use in my projects.

did i mention it has 0, yes zero dependencies?

Features

  • read the wiki
  • more coming soon

How to use

Add the following to your gradle.properties

# https://github.com/not-coded/codelib
codelib_version=...+minecraft_version

# Example
codelib_version=1.0.1+1.20

And build.gradle

repositories {
    maven {
        name = "Modrinth"
        url = "https://api.modrinth.com/maven"
        content {
            includeGroup "maven.modrinth"
        }
    }
}

dependencies {
    modApi "maven.modrinth:codelib:${project.codelib_version}"

    // you can include it directly if you want you don't want your users to download it
    include "maven.modrinth:codelib:${project.codelib_version}"
}

Available Versions

v1.0.1 | 1.20 - 1.20.2release
MC 1.20, 1.20.1, 1.20.2fabric, quilt
September 25, 2023
v1.0.0 | 1.20(.1)release
MC 1.20, 1.20.1fabric, quilt
September 13, 2023

How to Install CodeLib on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.2).

3

Install Mod

Open the mod browser in the dashboard and search for "CodeLib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricquilt

Minecraft Versions

1.20.2, 1.20.1, 1.20

Server-side

~ Optional

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

CodeLib server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.2). You can switch loaders with one click in the panel.

Is CodeLib compatible with fabric and quilt?

CodeLib officially supports fabric, quilt for Minecraft 1.20.2, 1.20.1, 1.20. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with CodeLib – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if CodeLib consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install CodeLib with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU General Public License v3.0 only
Server-side
Optional

Supported Versions

1.20.21.20.11.20