---
description: Plants properties of the custom biome
---

# Plantains

Define plant-type blocks on the ground.

## Frequency

```yaml
plantains.frequency: 0.2
```

Specifies the probability of spawning a plant at each \[x, z] coordinate.

{% hint style="info" %}
**Valid range**: `0 (never) to 1 (always)`
{% endhint %}

## Plant types

```yaml
plantains.types: '"GRASS(70%)","POPPY(2%)","DANDELION(2%)","TALL_GRASS(26%)"'
```

Specifies the [comma-separated list](../surfaces/block-types#comma-separated-and-percentages) of plant types.

{% hint style="info" %}
**NOTE**: `Each type MUST BE ENCLOSED in double quotes.`
{% endhint %}

### Floor types

```yaml
plantains.floor: '"GRASS_BLOCK","DIRT"'
```

Specifies the [comma-separated list](../surfaces/block-types#comma-separated-and-percentages) of blocks where plants will be spawned.

{% hint style="info" %}
**NOTE**: `Each type MUST BE ENCLOSED in double quotes.`
{% endhint %}

### Replace snow

```yaml
plantains.replace-snow: false
```

By default, a plantain will be replaced by the snow layer.\
If this property is set to true, this won't happen and the plantain won't be replaced.

***

## Sugar canes

### Frequency

```yaml
plantains.sugar-canes.frequency: 0.33
```

Controls the density of sugar cane spawning next to water blocks.\
A value closer to 1 results in more sugar canes being spawned.

{% hint style="info" %}
**Valid range**: `0 (never) to 1 (always)`
{% endhint %}

### Max height

```yaml
plantains.sugar-canes.ax-height: 3
```

Specifies the maximum height of a spawned sugar cane.

{% hint style="info" %}
**Valid range**: `2 to 10`
{% endhint %}
