Back to mods
[SBW] ColorableLib project artwork

CurseForge · Minecraft mod

[SBW] ColorableLib

SuperbWarfare library for easy vehicle coloring.

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

Quick answer

Which [SBW] ColorableLib release should I use?

Updated 5 months ago
Latest stable file ColorableLib-1.0.0.jar
Game version 1.20.1
Loader Forge

[SBW] ColorableLib ColorableLib-1.0.0.jar targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 2 required mods have matching files.

Where it goes

Is [SBW] ColorableLib 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 [SBW] ColorableLib ColorableLib-1.0.0.jar need?

ColorableLib-1.0.0.jar. Change the file and its required mods may change too.

All 2 required mods have matching files

Install [SBW] Superb Warfare, Kotlin for Forge first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

1 listed on this file 1 pulled in by one of those mods
[SBW] Superb Warfare Needed by [SBW] ColorableLib ColorableLib-1.0.0.jar
required
Matching file found Matched file: superbwarfare-0.8.9.2-mc1.20.1-65d985a64-all.jar
Kotlin for Forge Needed by [SBW] Superb Warfare
pulled in
Matching file found Matched file: Kotlin for Forge 4.12.0

1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add [SBW] ColorableLib without breaking your instance.

Built for [SBW] ColorableLib ColorableLib-1.0.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use ColorableLib-1.0.0.jar. 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 [SBW] Superb Warfare, Kotlin for Forge first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

  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 ColorableLib-1.0.0.jar. It opens that exact file at the source.

About this project

What does [SBW] 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 CurseForge.

Pick your setup

[SBW] ColorableLib by Minecraft version and loader

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

1 available setups

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

Recent files

[SBW] ColorableLib versions and loaders

1 of 1 releases match

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