Delight Lib Wiki › Guides › Create a Custom Crop with Harvest Mechanics
Create a Custom Crop with Harvest Mechanics
Define Crop Properties
Decide your crop's growth stages, seed item, and harvest output. Delight Lib handles the growth timer and stage rendering automatically.
Register Your Crop
1. Create a crop identifier
2. Specify the number of growth stages (typically 4–8)
3. Define the seed item that plants the crop
4. Set the harvest output (the food or ingredient players collect)
5. Assign texture files for each growth stage
6. Register using Delight Lib's crop builder
Set Growth Conditions
Your crop will grow on farmland like vanilla crops. The mod handles random tick updates and stage progression—no manual coding needed.
Add Farmer's Delight Integration
Once registered, your crop automatically works with Farmer's Delight's farming mechanics. Players can harvest it with farmer knives, and it integrates into cooking recipes and storage systems.