# Carpet CTM

Carpet CTM is the same as normal CTM it is a special model due to the size and to make it so that the edges of the carpet do not get a CTM texture for the 1 pixel size.

### Identifier

```json
athena:carpet_ctm
```

### Data

Carpet CTM requires 5 textures:

* `center` — Used for internal corners.
* `empty` — Used to fill in the middle of the texture.
* `horizontal` — Used for horizontal edges.
* `vertical` — Used for vertical edges.
* `particle` — Particle texture and the texture used for external corners.

{% tabs %}
{% tab title="Center" %}

<figure><img src="https://2325337461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xrUpruOeLHSh552faqK%2Fuploads%2Fzh2Z1K7IsPek5o8cdrsY%2Fimage.png?alt=media&#x26;token=1025df1e-9949-4939-8fdf-364758e7769d" alt=""><figcaption><p>Center texture used for internal corners.</p></figcaption></figure>
{% endtab %}

{% tab title="Empty" %}

<figure><img src="https://2325337461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xrUpruOeLHSh552faqK%2Fuploads%2FQ9NxkOVIXhl67saUqYnY%2Fimage.png?alt=media&#x26;token=a1f82476-f176-460a-bcfa-2a8b83d217b9" alt=""><figcaption><p>Empty texture used for empty middle.</p></figcaption></figure>
{% endtab %}

{% tab title="Horizontal" %}

<figure><img src="https://2325337461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xrUpruOeLHSh552faqK%2Fuploads%2FKwUitsx8gAn3QfrPhNpP%2Fimage.png?alt=media&#x26;token=146da2c6-25a7-40c0-b063-18019f8c2aba" alt=""><figcaption><p>Horizontal texture used for horizontal edges</p></figcaption></figure>
{% endtab %}

{% tab title="Vertical" %}

<figure><img src="https://2325337461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xrUpruOeLHSh552faqK%2Fuploads%2FEGA0E0em98gNdNae8T7L%2Fimage.png?alt=media&#x26;token=cdf568ad-a94e-4d46-b7f4-ed8c393d5d46" alt=""><figcaption><p>Vertical texture used for vertical edges</p></figcaption></figure>
{% endtab %}

{% tab title="Particle" %}

<figure><img src="https://2325337461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xrUpruOeLHSh552faqK%2Fuploads%2F8tgViSs7GC3pSCzHTjDL%2Fimage.png?alt=media&#x26;token=806c05ed-2ef7-4fd2-9f84-36d45094cd84" alt=""><figcaption><p>Particle texture used for external edges.</p></figcaption></figure>
{% endtab %}
{% endtabs %}

### Example

```json
{
  "variants": {
    "": {
      "model": "minecraft:block/air"
    }
  },
  
  "athena:loader": "athena:carpet_ctm",
  "ctm_textures": {
    "center": "chipped:block/amethyst_block/ctm/cut_amethyst_block_column_ctm/3",
    "empty": "chipped:block/amethyst_block/ctm/cut_amethyst_block_column_ctm/0",
    "horizontal": "chipped:block/amethyst_block/ctm/cut_amethyst_block_column_ctm/2",
    "particle": "chipped:block/amethyst_block/cut_amethyst_block_column",
    "vertical": "chipped:block/amethyst_block/ctm/cut_amethyst_block_column_ctm/1"
  }
}
```
