Skip to content

Adding New Clothes

Perigrine3 edited this page Dec 2, 2026 · 1 revision

Custom clothing with datapacks

Datapacks can add new clothing variants to Style Over Substance by putting data on the styleoversubstance:custom_clothing item. Each variant can have its own name, Curios slot, worn attributes, and optional overlay textures. The examples below are for Minecraft 1.21.1.

Make your first garment

  1. In your datapack, create data/example/recipe/reinforced_jacket.json.
  2. Paste the recipe below. It crafts a Reinforced Jacket from four Basic Fabric.
  3. Load the datapack and run /reload. Craft the jacket, then right-click with it in hand to equip it in the Curios back slot. Wear it in the functional slot to get the armor bonus.
{
  "type": "minecraft:crafting_shapeless",
  "category": "misc",
  "ingredients": [
    { "item": "styleoversubstance:basic_fabric" },
    { "item": "styleoversubstance:basic_fabric" },
    { "item": "styleoversubstance:basic_fabric" },
    { "item": "styleoversubstance:basic_fabric" }
  ],
  "result": {
    "id": "styleoversubstance:custom_clothing",
    "count": 1,
    "components": {
      "minecraft:custom_name": "{\"text\":\"Reinforced Jacket\"}",
      "styleoversubstance:clothing": {
        "slot": "back"
      },
      "curios:attribute_modifiers": {
        "modifiers": [
          {
            "type": "minecraft:generic.armor",
            "id": "example:reinforced_jacket_armor",
            "amount": 2.0,
            "operation": "add_value",
            "slot": "back"
          }
        ]
      }
    }
  }
}

Change the slot or bonus

  • Use the same slot in styleoversubstance:clothing and in each attribute entry. Common slots are head, necklace, back for jackets, body for shirts and bodysuits, pants, and feet.
  • Change type to the attribute you want to modify. In the example, add_value and 2.0 give the wearer +2 armor.
  • Add more entries to the modifiers array for additional bonuses. Give each bonus that should stack its own namespaced id.
  • Omit curios:attribute_modifiers for a garment with no stat bonuses.

Add a worn texture

Put a 64-by-64 PNG laid out like a Minecraft player skin in your resource pack. For example, save it at assets/example/textures/entity/overlays/reinforced_jacket.png and use this clothing component:

"styleoversubstance:clothing": {
  "slot": "back",
  "wide_overlay": "example:textures/entity/overlays/reinforced_jacket.png"
}

Supply slim_overlay alongside wide_overlay if you have separate art for slim arms. A single overlay is used for both models when only one is supplied. Transparent pixels let the layers underneath show through. Players need the resource pack enabled to see the art.

The worn overlay and inventory icon are separate. Custom clothing uses a shared inventory icon by default. To give a variant its own icon, assign minecraft:custom_model_data in the recipe and add a corresponding model override for styleoversubstance:item/custom_clothing in the resource pack.

Clone this wiki locally