Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App
Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Capix!

Capix!

A small API mod that allows Mod Developers to add capes to their mods

60
0
Library
AboutChangelogVersions

Capix

  • A small API mod that allows Mod Developers to add capes to their mods

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

  • Source

Report Issues

  • Report Issues

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

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x

Platforms

Fabric
NeoForge

Supported environments

Client only
Singleplayer

Links

Report issues View source Visit wiki Join Discord server
Donate on Patreon

Creators

Team Chorus
Team ChorusOrganization

YeoXuHang
YeoXuHang Owner

Details

Licensed LGPL-3.0-only
Published 3 weeks ago
Updated yesterday

Modrinth is open source.

new-project-page@ac78952

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.