> For the complete documentation index, see [llms.txt](https://nexoaddon.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nexoaddon.gitbook.io/docs/mechanics/decay.md).

# Decay

Decay chorusblock mechanic.

Create unique leaves with Decay Mechanic!

{% hint style="info" %}
This Mechanic works on every custom\_block type
{% endhint %}

### Decaying leaves

```yaml
# Example

Mechanics:
    custom_block:
      type: CHORUSBLOCK
      decay:
        time: 5                  # Try to destroy leaves every x
        chance: 0.2              # Chance of decay
        base:
        - palmtree               # Nexo Custom Block
        - palm_y
        - palm_x
        - palm_z
        - OAK_LOG                # Vanilla Material
        radius: 3                # Radius of checking base items
```
