# Seeds and crops

In ItemsAdder you can create custom seeds and crops!

### Example crop (tomato)

<div align="left"><img src="/files/-Lb4PXv4NwPQzIM1-9Wd" 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
```


---

# Agent Instructions: 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://lonedev.gitbook.io/itemsadder/specific-items/seeds-and-crops.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.
