Back to mods
ColorableLib project artwork

Modrinth · Minecraft mod

ColorableLib

SuperbWarfare library for easy vehicle coloring.

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

Quick answer

Which ColorableLib release matches 1.21.3 Forge?

Updated 6 months ago
Best match for your filters 1.0.0
Game version 1.20.1, 1.20.2, 1.20.3
Loader Forge

ColorableLib 1.0.0 targets 1.20.1, 1.20.2, 1.20.3 with Forge. Installation on the client is optional. Installation on the dedicated server is optional. 1 required mod needs a matching file.

Where it goes

Is ColorableLib required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
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 marks this as usable on both the client and server.

What else does ColorableLib 1.0.0 need?

1.0.0 on 1.21.3 Forge. Every mod below is checked against that same setup.

1 required mod needs a matching file

Install Superb Warfare first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

Superb Warfare Needed by ColorableLib 1.0.0
required
No matching file Version asked for: 0.8.9

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

Before you install it

Add ColorableLib without breaking your instance.

Built for ColorableLib 1.0.0 on 1.21.3 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.0. It targets 1.20.1, 1.20.2, 1.20.3 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Superb Warfare first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.

About this project

What does ColorableLib add?

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");
            }
        });
    }
}

Project description from Modrinth.

Pick your setup

ColorableLib by Minecraft version and loader

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

21 available setups

Showing the newest 12 of 21 game versions. Older files are in the list below.

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

Recent files

ColorableLib versions and loaders

1 of 1 releases match

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