ColorableLib

ColorableLib

SuperbWarfare library for easy vehicle coloring.

by
681 Downloads
forgelibrary
Rent Server with this Mod

Screenshots

a_10

About this Mod

Library used to easily implement SuperbWarfare vehicles coloring.

ColorableLib is a lightweight library dedicated for SuperbWarfare addons. ColorableLib is based on Capability logic and implements management engine and automatic server-client synchronization, also changing SuperbWarfere vehicle renderer.

import colorable.capability.EntityColorCapability;
import net.minecraft.world.entity.Entity;

/**
 * Example usage of the ColorableLib API.
 */
public class ColorableExample {

    /**
     * Demonstrates how to manipulate entity color layers.
     * 
     * @param targetEntity The entity to be colored (must support the capability).
     * @param color        Color in decimal or hex format (e.g., 0xFF0000 for red).
     */
    public void exampleMethod(Entity targetEntity, int color) {
        // Access the color capability of the target entity
        targetEntity.getCapability(EntityColorCapability.CAPABILITY).ifPresent(cap -> {
            if (!targetEntity.level().isClientSide) {
                
                // Add or update a specific color layer
                cap.setLayer(targetEntity, "example_id", color);

                // Removed a specified layer
                cap.removeLayer(targetEntity, "example_id");
            }
        });
    }
}

Available Versions

ColorableLib 1.0.0release
MC 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2forge
May 6, 2026

How to Install ColorableLib on Your Server

1

Order Server

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

2

Set forge Loader

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

3

Install Mod

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

Compatibility

Mod Loaders

forge

Minecraft Versions

26.1.2, 26.1.1, 26.1 (+18 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

ColorableLib server crashes on startup – what to do?

Most common cause: wrong forge 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 (26.1.2). You can switch loaders with one click in the panel.

Is ColorableLib compatible with forge?

ColorableLib officially supports forge for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with ColorableLib – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if ColorableLib 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 ColorableLib 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
Creative Commons Attribution Non Commercial 4.0 International
Server-side
Required

Supported Versions

26.1.226.1.126.11.21.111.21.101.21.91.21.81.21.71.21.61.21.5+11 more