AnyCapes: Refabricated


This modification represents an updated version of the popular AnyCapes, adapted to work with Minecraft 1.18 and higher. It's an excellent solution for those who wanted to use the original mod on the latest game versions.
Key Features
AnyCapes is a module with flexible settings that allows loading capes from any API. It really supports various cape sources, including user-created API interfaces.
Important Information
The modification works exclusively on the client side and requires Fabric API installation. As the author, I don't plan to create a version for Forge users.
Module Configuration
To access configuration settings, install Mod Menu along with Cloth Config API. The main element of settings is the list of URLs. When Minecraft requests a player's skin, AnyCapes sequentially checks all specified URLs from top to bottom, downloading a suitable cape image for each user.
The system operates on the principle: once a correct URL is found that returns HTTP code 200, the image is downloaded and other addresses are ignored. If the URL list is empty or all addresses are incorrect, the player won't get a cape.
The caching feature saves downloaded cape images in a file, which speeds up their reuse. This improves performance, but when changes occur in the main URL list or the images themselves, stored copies won't update.
Default APIs in Settings
By default, the module includes the following API sources (you won't need to configure them additionally):\ Mojang\ Optifine\ MinecraftCapes\ LabyMod
If you've made changes to the configuration and want to restore original settings, use the reset button.
Substitution Elements in URL
The module supports replacement of special markers in URLs with corresponding player information:
- {mojang}: Mojang cape URL; if missing, the link is skipped
- {username}: player username
- {uuid}: UUID without dashes
- {uuid-dash}: UUID with dashes