

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");
}
});
}
}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.20.1, 1.20.2, 1.20.3
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as ColorableLib-1.0.0.jar — drop this file into the mods folder
- Download size: 233 KB
- Download link checked 30 Aug 2026 — working
These come from our own check of the pack file, not from the source page.