Plant Seed / Crop
minecraft_plant_seedPlant a seed item on farmland at specified coordinates. Works for seeds, carrots, potatoes, and more; requires correct soil and available space.
Instructions
Plants a seed item on farmland at the given coordinates (till it first with minecraft_till_soil). Works for any plantable item: seeds, carrots, potatoes, beetroot_seeds, melon/pumpkin seeds, nether_wart (on soul sand).
Returns: { message } Errors: target block isn't farmland/soul sand, space above is occupied, or seed not in inventory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| z | Yes | ||
| seed_item | Yes | e.g. "wheat_seeds", "carrot", "potato", "beetroot_seeds", "nether_wart" |