Eclectus Cosmetic
ModMIT

Eclectus Cosmetic

Data-Driven capes for your server

45
Downloads
1
Followers
2 months ago
Updated
📦
4
Versions

📖About Eclectus Cosmetic

Eclectus Cosmetic

This mod is intended for modpack developers, feel free to use it in your next pack!

You can now add capes with this mod by making a datapack and putting each cape.json inside of

/data/{datapack-id}/cape/{cape_file}.json

A cape json file is comprised of 2 values, here is a small example for the wheat cape:

{
  "name": "wheat cape",
  "texture": "eclectuscosmetic:textures/cape/wheat_cape.png"
}

Remember to include an elytra texture else the elytra won't show up!

Now the last optional step is a way to unlock the cape, it can be unlocked using the following command:

/unlockcape

and filling the required option that will be recommended.

You can also unlock capes by unlocking an achievement by making a json file in the following path in your datapack:

/data/{datapack-id}/advancement_cape/{cape_file}.json

You need to follow the following schema, here is an example for the wheat cape:

{
  "cape": "eclectuscosmetic:wheat",
  "advancement": "minecraft:husbandry/plant_seed"
}

Finally, to equip said cape, use the /setcape command.

Enjoy!