# Item Skins

Config file:

* `config/dawncosmetics/cosmetics/item_skins.json`

## What Goes In An Item Skin Entry

* `materials` for the items this skin can apply to
* `custom-model-data`, `custom_model_data`, `model_data`, or `modelData` for the visual id
* `display-name`, `display_name`, or `name` for the shown name
* `permission` for the access node
* `set` for grouping
* `variant` for sorting or color grouping
* `icon` for the menu item
* `model` for an optional model setup
* `price` for shop price
* `rarity` for shop rarity
* `unlocked_lore` for lore when unlocked
* `locked_lore` for lore when locked

## Example

```json
{
  "item_skins": {
    "dusk_blade_diamond": {
      "materials": ["diamond_sword"],
      "custom-model-data": 1001,
      "permission": "dawncosmetics.itemskin.dusk_blade",
      "display-name": "Dusk Blade",
      "icon": {
        "item": "minecraft:diamond_sword"
      }
    }
  }
}
```

{% hint style="info" %}

* the player must be holding a supported material
* if different materials need different looks, make separate entries
  {% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dawnshade.gitbook.io/dawnshade-docs/docs/dawn-cosmetics/summary/cosmetic-types/item-skins.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
