> For the complete documentation index, see [llms.txt](https://mcpets.gitbook.io/mcpets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mcpets.gitbook.io/mcpets/tutorials/pet-features/skins.md).

# Skins

## What for ?

The skins enable you to have different model for the same pet to create variations of it. For instance if you have color variations of the same model, then you just create one pet and associate it to various skins.

Note that each skin has its unique permission so it's unlockable by players.

Typically this could apply to this kind of pets:

{% embed url="<https://www.youtube.com/watch?v=HOBgTiU-m-8>" %}
[Kingdom Cats](https://mcmodels.net/model/kingdom-cats/) - by [Nocsy](https://mcmodels.net/vendors/nocsy/)
{% endembed %}

## How to ?

To implement the skins, you have to go into the pet config and add the YAML code below and tweak it to your needs. Once this is done, you should be able to access the skin tab within the interaction menu of the pet.

If you struggle on how to implement this code into the pet config, you can have a look at the general [pet config template](/mcpets/tutorials/config-templates/pet-config.md) to see how it's done at the global scale.

```yaml
Skins:
  # Add the skins of the pet if it has various skins (this is not mandatory)
  Skin1: # Create a section
    MythicMob: mythicMobId # reference to the MythicMob you want to swap with
    Permission: skin.permission # Set the permission to access the skin, it can be the same as the pet permission for instance
    Icon: # Set the icon of the skin, just like before almost same syntax
      Material: STONE
      CustomModelData: 0
      DisplayName: "Skin 1"
      Lore:
      - "This is a lore"
      TextureBase64: anybase64youwant # this is not mandatory. Remove the Material field if you wanna use it
  Skin2:
     # Do the same syntax with as many skins as you want. Remember to add your default skin as well !
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://mcpets.gitbook.io/mcpets/tutorials/pet-features/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.
