Delight Lib Mod Wiki › FAQ
Delight Lib Mod FAQ
10 questions players actually ask, answered.
How do I start making a mod with Delight Lib?
Set up a basic mod project for your loader, add Delight Lib as a dependency, then use the library's registration methods in your main mod class to begin adding food items, crops, or recipes. The library handles all the boilerplate setup so you can focus on calling its functions rather than writing complex registration code.
What's the difference between a food item and a placeable dish?
A food item is eaten directly from your inventory with custom nutrition and saturation values, while a placeable dish is a block that sits on surfaces and can be eaten by right-clicking it. Placeable dishes are useful for meals that feel more like prepared food on a plate or bowl.
Can I use Delight Lib with other Farmer's Delight add-ons?
Yes, Delight Lib is designed to work alongside other Farmer's Delight add-ons without conflicts. Since it only handles registration and setup, multiple mods using the library can coexist in the same modpack.
How do I set custom cooking time for a cooking pot recipe?
When registering a cooking pot recipe through Delight Lib, you specify the cooking duration as a parameter in the recipe registration method. The library will handle applying that timing to the actual cooking process in-game.
Do I need to write JSON files for textures and models?
Yes, you still need to create texture files and model JSON files for your items and blocks, but Delight Lib eliminates the need to write complex registration code—you just point it to your assets and call the registration function.
Can kitchen cabinets store items like regular chests?
Kitchen cabinets are primarily designed for displaying and crafting recipes, not for general item storage; use storage crates and bags if you need to pack and store crops or ingredients.
What happens if I register the same item twice?
Registering the same item twice will cause a conflict or crash during mod loading. Make sure each food item, crop, and recipe has a unique identifier within your mod.
Does Delight Lib work on Fabric and Forge?
Delight Lib is designed to work across different mod loaders, so you can use it for both Fabric and Forge projects without rewriting your code. Check the mod's documentation for any loader-specific setup steps.
How do I add experience rewards to cooking pot recipes?
When creating a cooking pot recipe, include the experience value as a parameter in the registration method, and the library will automatically grant that experience to the player when the recipe completes.
Can I create crops that grow in multiple stages?
Yes, Delight Lib's crop registration system supports multi-stage growth with harvest mechanics, allowing you to define how many growth stages your crop has and what drops when harvested at each stage.