
A utility library for Farmer's Delight add-on developers that makes it a lot easier to create food items, knives, crates and bags, cabinets, and manage recipes. This means developers can make their own add-ons much quicker and only worry about the textures and models.
Geting Started | Create your own Farmer's Delight add-on for beginners
✨ Features:
Delight Lib allows the creation of these items and blocks for Farmer's Delight using just a few lines of code:
- Food items
- Placeable food items
- Cabinets
- Crates and bags
- Knives
- Crops
🛠️ Code Examples:
Below are minimal examples showing the library syntax. Read the documentation for full tutorials on building a complete add-on from scratch.
Creative Tab:
Initialize your add-on and create a creative tab with a custom item icon:
var DelightLib = DelightAddon.create("Mod Name", bus)
.withCreativeTab("Mod Name", () -> new ItemStack(Items.BREAD));
Knives
Register a custom knife:
addon.knife("obsidian_knife", Tiers.DIAMOND).build();
Food Items
Register a food item with custom stats:
addon.food("fried_egg")
.nutrition(4)
.saturation(0.4f)
.fast()
.build();
Cooking Pot Recipes
Register a cooking pot recipe with custom ingredients:
addon.cookingRecipe("beef_stew")
.addIngredient("minecraft:cooked_beef")
.addIngredient("minecraft:carrot")
.addIngredient("minecraft:potato")
.result("mymod:beef_stew")
.experience(1.0f)
.cookingTime(200)
.recipeBookTab("meals")
.build();
Cabinets
Register a custom cabinet with a crafting recipe:
addon.cabinet("spruce_cabinet")
.recipe(b -> b.grid("SSS", "T T", "SSS")
.define('S', "minecraft:spruce_slab")
.define('T', "minecraft:spruce_trapdoor"))
.build();
Crops
Register a full crop system:
addon.crop("corn").build();
All Versions
+ Add Version### ✨ What's New:
- Added support for Farmer's Delight Refabricated in Minecraft 26.3.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### ✨ What's New:
- Added support for Minecraft 26.2.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### ✨ What's New:
- Added support for Farmer's Delight Refabricated latest/1.21.11.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### ✨ What's New:
- Refactor builders and introduce
RecipeRequiredBuilder(thanks, [EvanHsieh0415](https://github.com/EvanHsieh0415)!). - Add Javadoc for public API, refactor public api interface for access (thanks, [EvanHsieh0415](https://github.com/EvanHsieh0415)!).
- Minor improvements.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### ✨ What's New:
- Refactor builders and introduce
RecipeRequiredBuilder(thanks, [EvanHsieh0415](https://github.com/EvanHsieh0415)!). - Add Javadoc for public API, refactor public api interface for access (thanks, [EvanHsieh0415](https://github.com/EvanHsieh0415)!).
- Minor improvements.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### ✨ What's New:
- Refactor builders and introduce
RecipeRequiredBuilder(thanks, [EvanHsieh0415](https://github.com/EvanHsieh0415)!). - Add Javadoc for public API, refactor public api interface for access (thanks, [EvanHsieh0415](https://github.com/EvanHsieh0415)!).
- Minor improvements.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### ✨ What's New:
- Refactor builders and introduce
RecipeRequiredBuilder(thanks, [EvanHsieh0415](https://github.com/EvanHsieh0415)!). - Add Javadoc for public API, refactor public api interface for access (thanks, [EvanHsieh0415](https://github.com/EvanHsieh0415)!).
- Minor improvements.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### ✨ What's New:
- Refactor builders and introduce
RecipeRequiredBuilder(thanks, [EvanHsieh0415](https://github.com/EvanHsieh0415)!). - Add Javadoc for public API, refactor public api interface for access (thanks, [EvanHsieh0415](https://github.com/EvanHsieh0415)!).
- Minor improvements.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### ✨ What's New:
- Added support for Farmer's Delight Refabricated 1.3.1/26.1.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### 🛠️ Minor Changes:
- Fixed issues when cutting a
.pie()food block with a knife. - Fixed issues with recipes.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### 🛠️ Minor Changes:
- Fixed knifes not working correctly.
- Fixed cooking recipes not working correctly.
- Fixed cabinets not registering tags for Farmer's Delight cabinets.
- Fixed pies not dropping slices when right-clicked with a knife.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### ✨ What's New:
- Added support for Farmer's Delight Refabricated 1.3.1/1.21.1.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### 🛠️ Minor Changes:
- Fixed a bug where the models and textures for placeable foods failed to load in-game.
- Fixed a bug causing cabinets to break slowly when mined with an axe.
- Separated the creation methods for placeable food items into
.feast()and.pie(). - Added the
.feastOutput()property for feast items to define the leftover item after all servings are consumed. - Removed the
hasLeftoverproperty since this behavior is now enabled by default.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### 🛠️ Minor Changes:
- Fixed a bug where the models and textures for placeable foods failed to load in-game.
- Fixed a bug causing cabinets to break slowly when mined with an axe.
- Separated the creation methods for placeable food items into
.feast()and.pie(). - Added the
.feastOutput()property for feast items to define the leftover item after all servings are consumed. - Removed the
hasLeftoverproperty since this behavior is now enabled by default.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### 🛠️ Minor Changes:
- Fixed a bug where the models and textures for placeable foods failed to load in-game.
- Fixed a bug causing cabinets to break slowly when mined with an axe.
- Separated the creation methods for placeable food items into
.feast()and.pie(). - Added the
.feastOutput()property for feast items to define the leftover item after all servings are consumed. - Removed the
hasLeftoverproperty since this behavior is now enabled by default.
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### 🛠️ Minor Changes:
- Fixed placeable food items not generating data files. They now require the user to add all model files manually inside the
models/blockfolder.
- You can easily implement Delight Lib in your Farmer's Delight add-on, for a quick start guide, please [check the documentation here](https://github.com/axperty/delightlib/wiki).
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### 🛠️ Minor Changes:
- Fixed placeable food items not generating data files. They now require the user to add all model files manually inside the
models/blockfolder.
- You can easily implement Delight Lib in your Farmer's Delight add-on, for a quick start guide, please [check the documentation here](https://github.com/axperty/delightlib/wiki).
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### 🛠️ Minor Changes:
- Fixed placeable food items not generating data files. They now require the user to add all model files manually inside the
models/blockfolder.
- You can easily implement Delight Lib in your Farmer's Delight add-on, for a quick start guide, please [check the documentation here](https://github.com/axperty/delightlib/wiki).
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### ✨ What's New:
- This is the first version of Delight Lib for Farmer's Delight 1.3.1, the features include:
- Creation of food items and placeable food items.
- Creation of cabinets.
- Creation of crates and bags.
- Creation of knives.
- Creation of crops.
- You can easily implement Delight Lib in your Farmer's Delight add-on, for a quick start guide, please [check the documentation here](https://github.com/axperty/delightlib/wiki).
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### ✨ What's New:
- This is the first version of Delight Lib for Farmer's Delight 1.3.1, the features include:
- Creation of food items and placeable food items.
- Creation of cabinets.
- Creation of crates and bags.
- Creation of knives.
- Creation of crops.
- You can easily implement Delight Lib in your Farmer's Delight add-on, for a quick start guide, please [check the documentation here](https://github.com/axperty/delightlib/wiki).
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).
### ✨ What's New:
- This is the first version of Delight Lib for Farmer's Delight 1.3.1, the features include:
- Creation of food items and placeable food items.
- Creation of cabinets.
- Creation of crates and bags.
- Creation of knives.
- Creation of crops.
- You can easily implement Delight Lib in your Farmer's Delight add-on, for a quick start guide, please [check the documentation here](https://github.com/axperty/delightlib/wiki).
### 📝 Feedback and Support:
- Found a bug or have suggestions? [Submit an issue on GitHub](https://github.com/axperty/delightlib/issues/new).
- Support this mod by [creating your own server](https://url-shortener.curseforge.com/VZwFX) or [donating via PayPal](https://paypal.me/kevgelhorn).