C-erva Core

C-erva Core

Shared Fabric library providing text, registry, networking, inventory and permission utilities for AndrewImm mods.

by
7 Downloads
fabriclibrary
Rent Server with this Mod

About this Mod

🧱 C-erva Core

Shared utility library for C-erva Fabric mods.

C-erva Core provides a set of common building blocks — text formatting, registration helpers, networking, inventory utilities, permissions, and more — so that individual mods stay small and don't reinvent the wheel.

You don't use this mod directly. Install it as a dependency when another mod (e.g. PhotoChat) requires it.


📦 What's inside

💬 CervaText

Prefixed chat messages with consistent styling.

CervaText.success("MyMod", "Item given!");   // [MyMod] Item given!  (green)
CervaText.warning("MyMod", "Low durability"); // [MyMod] Low durability  (yellow)
CervaText.error("MyMod", "Not found");        // [MyMod] Not found  (red)

🏷️ CervaRegistry

One-liner registration for identifiers, items, blocks, sounds, and entity types.

CervaRegistry.id("mymod", "ruby");
CervaRegistry.item("mymod", "ruby", new Item(settings));
CervaRegistry.sound("mymod", "ding");

🌐 CervaNetworking

Broadcast a custom payload to all players who have the mod, with an automatic text fallback for everyone else.

CervaNetworking.broadcastWithFallback(server, TYPE, payload, fallbackText);

🎒 CervaItems

Inventory helpers — give items, drop stacks, count slots, check for space.

CervaItems.give(player, stack);         // give or drop if full
CervaItems.hasSpace(player, stack);     // check before giving
CervaItems.countItem(player, Items.DIAMOND);

🔐 CervaPermissions

Simple permission checks for commands and players.

CervaPermissions.hasPermission(source, permission);

🌍 CervaWorld

World and sound utilities.

CervaWorld.playSound(world, pos, soundEvent);
CervaWorld.isServerWorld(world);

⏱️ CervaCooldowns

UUID + key based cooldown map with automatic expiry.

if (CervaCooldowns.isReady(player.getUuid(), "ability", 60)) {
    // 60-tick cooldown passed
}

🖼️ CervaTooltips (client)

Tooltip builder for item descriptions.

CervaTooltips.builder()
    .line("Rare artifact", Formatting.GOLD)
    .line("+5 attack", Formatting.GREEN)
    .build(tooltip);

📁 CervaPaths

Path parsing with quote and space support — useful for commands that accept file paths.

📂 CervaFilePicker (client)

Native OS file dialog via TinyFD — open/save dialogs with format filters.

🛡️ CervaSafe

Quick checks for client/server side, null world, null player — guards against common crashes.


📋 Requirements

  • Minecraft 1.21.11
  • Fabric Loader ≥ 0.19.3
  • Fabric API
  • Java 21+

⚙️ For mod developers

Add C-erva Core as a dependency in your build.gradle:

modImplementation "com.andrewimm:cerva_core:1.2.91"

And in your fabric.mod.json:

"depends": {
    "cerva_core": ">=1.2.91"
}

🔗 Mods using C-erva Core

  • PhotoChat — send images directly into Minecraft chat

Available Versions

C-erva Core 1.2.91beta
MC 1.21.11fabric
June 19, 2026

How to Install C-erva Core 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.21.11).

3

Install Mod

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

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.11

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

C-erva Core 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.21.11). You can switch loaders with one click in the panel.

Is C-erva Core compatible with fabric?

C-erva Core officially supports fabric for Minecraft 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with C-erva Core – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if C-erva Core 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 C-erva Core 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
MIT License
Server-side
Required

Supported Versions

1.21.11