HomeJavaModsCapix!
Capix!
ModsJava

Capix!

by YeoXuHang · on Modrinth

A small API mod that allows Mod Developers to add capes to their mods. Free Minecraft Java mod for 1.21, 1.21.1.

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21–1.21.1 · Fabric⬇ Download for 1.21–1.21.1 · NeoForge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Capix

Config Screen Example Cape

Mod Developer

Fabric Setup Example

import net.yeoxuhang.capix.api.CapixApi;

public class ExampleModClient implements ClientModInitializer {
    @Override
    public void onInitializeClient() {
        // Using default
        CapixApi.registerCape(ExampleMod.MOD_ID, "Example Cape", "textures/example_cape.png", "https://raw.githubusercontent.com/ExampleTeam/Example/master/namelist.txt");
        // Texture from url
        CapixApi.registerCape(ExampleMod.MOD_ID, "Example Cape", "https://github.com/ExampleTeam/Example/blob/master/example_cape.png?raw=true", "https://raw.githubusercontent.com/ExampleTeam/Example/master/namelist.txt");
    }
}

NeoForge Setup Example

import net.yeoxuhang.capix.api.CapixApi;

@Mod("example_mod")
public class ExampleMod {

    public ExampleMod(IEventBus eventBus) {
        // Using default
        CapixApi.registerCape(ExampleMod.MOD_ID, "Example Cape", "textures/example_cape.png", "https://raw.githubusercontent.com/ExampleTeam/Example/master/namelist.txt");
        // Texture from url
        CapixApi.registerCape(ExampleMod.MOD_ID, "Example Cape", "https://github.com/ExampleTeam/Example/blob/master/example_cape.png?raw=true", "https://raw.githubusercontent.com/ExampleTeam/Example/master/namelist.txt");
    }
}

ModPacker

You can create cape using DataPack and ResourcePack

For DataPack Example

data/example_cape/capes/example_cape.json
pack.mcmeta
{
  "name": "Example Cape",
  "texture": "example_cape:textures/capes/example_cape.png"
}

For ResourcePack Example

assets/example_cape/textures/capes/example_cape.png
pack.mcmeta

Source

Report Issues

This mod is not affiliated with Mojang, Optifine, LabyMod, Capes, or the MinecraftCapes Mod

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more