Skip to content

Releases: Mitchellbrine/CAPI

Initial Release (Version 1.0)

19 Jul 04:51

Choose a tag to compare

This is the initial release! Documentation video is coming up soon!


FOR MODDERS: (Use cAPI-Dev1.0.zip for your project's libraries)

Use

CAPI.instance.addCape(<capeURL>,<capeNameForLocal>);
CAPI.instance.addPlayerCape(<playerName>,<localCapeName>);

in your FMLPreInitializationEvent event with

@Optional.Method(modid="cAPI")

to load new capes!


You can also just use

CAPI.instance.addPlayerCape(<insertPlayerName>,<insertURL>);

to use a remote location (useful for making sure players can't abuse the cape folder)


(Please make sure you have the dependency so your mod is loaded after cAPI)