# Seeds and crops

In ItemsAdder you can create custom seeds and crops!

### Example crop (tomato)

<div align="left"><img src="https://1214668154-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lb2yL4HfyyLvT9V2pYq%2F-Lb4OIwkLmapYraH0kQb%2F-Lb4PXv4NwPQzIM1-9Wd%2Fimmagine.png?alt=media&#x26;token=9f312cde-c5a1-4588-a285-b5156575eea9" alt=""></div>

{% hint style="warning" %}
**tomato\_seeds** is created in **seeds.yml** file
{% endhint %}

```yaml
tomato_seeds:
  enabled: true
  permission: tomato_seeds
  model_id: 1
  name: '&fTomato Seeds'
  events:
    block_break:
      drop_this_item: # tomato seeds can be found breaking grass
        from_vanilla_block: GRASS
        chance: 5
        min_amount: 1
        max_amount: 2
  specific_properties:
    crop_block: WHEAT #crop shown on the ground when planting the seed
    result:
      item: tomato #item to be dropped when crop is fully grow
      min_amount: 1
      max_amount: 2
  craft_recipe:
    enabled: true
    amount: 2
    pattern:
      - XXX
      - XOX
      - XXX
    ingredients:
      O: tomato
```

{% hint style="warning" %}
**tomato** item can be created in **items.yml**, **vegetables\_fruits.yml**, **minerals.yml** (depends on your needs)
{% endhint %}

### tomato item

this is the tomato item dropped from crop (created in vegetables\_and\_fruits.yml)

```yaml
tomato:
  enabled: true
  permission: tomato
  model_id: 1
  name: '&fTomato'
banana:
  enabled: true
  permission: banana
  model_id: 2
  name: '&fBanana'
  lore:
    - "&7This item can"
    - "&7be found in Spruce Leaves"
    - "&7with 5% probability"
  events:
    block_break:
      drop_this_item:
        from_vanilla_block: OAK_LEAVES
        need_pickaxe: false
        chance: 10
        min_amount: 1
        max_amount: 2
```

#### Specific properties

```yaml
  specific_properties:
    crop_block: WHEAT #crop shown on the ground when planting the seed
    result:
      item: tomato #item to be dropped when crop is fully grow
      min_amount: 1
      max_amount: 2
```

