# Armors

To create a custom mapping for armor you first need to know if you are going to do a helmet, chestplate, leggings or boots

To know what you need to know please see this list:

* Helmet: `"minecraft:leather_helmet":`
* Chestplate: `"minecraft:leather_chestplate":`
* leggings: `"minecraft:leather_leggings":`
* Chestplate: `"minecraft:leather_boots":`

If you are making a helmet it should look like this

```json
{
    "format_version": 1,
    "items": {
        "minecraft:leather_helmet": [
            {
                "name": "my_amazing_helmet",
                "custom_model_data": 10000,
                "display_name": "§eSome description",
                "is_tool": false,
                "is_hat": false,
                "texture_size": 16                
            }
        ]             
    }
}
```

Now to specify what item are you creating you need to specify the indetifier of your item here `"name": ""`, if you don't have the identifier please go to [**custom things**](https://jugandomiguel.gitbook.io/custom-resource-pack-geysermc/custom-things) category and read the page you are looking for. Now the file should look like this

```json
{
    "format_version": 1,
    "items": {
        "minecraft:leather_helmet": [
            {
                "name": "ice_helmet",
                "custom_model_data": 10000,
                "display_name": "§eSome description",
                "is_tool": false,
                "is_hat": false,
                "texture_size": 16                
            }
        ]             
    }
}
```

To continue you need to specify the custom model data in `"custom_model_data":` and the custom thing now look like this

```json
{
    "format_version": 1,
    "items": {
        "minecraft:leather_helmet": [
            {
                "name": "ice_helmet",
                "custom_model_data": 12184,
                "display_name": "§eSome description",
                "is_tool": false,
                "is_hat": false,
                "texture_size": 16                
            }
        ]             
    }
}
```

{% hint style="warning" %}
IMPORTANT: The custom\_model\_data need to be the same as the item in Minecraft Java
{% endhint %}

To add more items in the same file you can add a coma in the closing bracket **}** like this:

```json
{
    "format_version": 1,
    "items": {
        "minecraft:leather_helmet": [
            {
                "name": "ice_helmet",
                "custom_model_data": 12184,
                "display_name": "§eSome description",
                "is_tool": false,
                "is_hat": false,
                "texture_size": 16                
            },
            {
                "name": "another_helmet",
                "custom_model_data": 10000,
                "display_name": "§eSome description",
                "is_tool": false,
                "is_hat": false,
                "texture_size": 16                
            }            
        ]             
    }
}
```

To add chestplates, leggings or boots in the same file you need to add a coma in the closing square braket **]** like this

```json
{
    "format_version": 1,
    "items": {
        "minecraft:leather_helmet": [
            {
                "name": "ice_helmet",
                "custom_model_data": 12184,
                "display_name": "§eSome description",
                "is_tool": false,
                "is_hat": false,
                "texture_size": 16                
            },
            {
                "name": "another_helmet",
                "custom_model_data": 10000,
                "display_name": "§eSome description",
                "is_tool": false,
                "is_hat": false,
                "texture_size": 16                
            }            
        ],      
        "minecraft:leather_chestplate": [
            {
                "name": "ice_chestplate",
                "custom_model_data": 10000,
                "display_name": "§eSome description",
                "is_tool": false,
                "is_hat": false,
                "texture_size": 16                
            },
            {
                "name": "another_chestplate",
                "custom_model_data": 10000,
                "display_name": "§eSome description",
                "is_tool": false,
                "is_hat": false,
                "texture_size": 16                
            }            
        ]               
    }
}
```

When you have the mappings created now you should put them in the custom mappings folders that is located in `my_server/plugins/Geyser-Spigot/custom_mappings/`

To continue go to:

{% content-ref url="../../last-steps/inventory-texture" %}
[inventory-texture](https://jugandomiguel.gitbook.io/custom-resource-pack-geysermc/last-steps/inventory-texture)
{% endcontent-ref %}


---

# 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://jugandomiguel.gitbook.io/custom-resource-pack-geysermc/custom-mappings/create-the-mapping-file/armors.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.
