Delight Lib

Quick rating

Delight Lib

No reviews yet

Create Farmer's Delight add-ons for many mod loaders and versions easily.

API/Library
Mod Loaders
Forge
NeoForge
Fabric
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
Delight Lib 26.06.23 - 26.2
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

About

Description

Delight Lib

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.

Getting 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 knife:

addon.knife("obsidian_knife", Tiers.DIAMOND).build();

Food Items

Register a food item:

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 cabinet:

addon.cabinet("pine_cabinet").build();

Crops

Register a full crop system:

addon.crop("garlic").build();

Saving for a laptop!

  Support Me Button Donate Button

Delight Lib

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();

Saving for a laptop!

Patreon Button PayPal Button Ko-Fi Button

Screenshots

Gallery

  • Delight Lib Banner
    Delight Lib Banner 3
  • Delight Lib Logo (without text)
    Delight Lib Logo (without text)
  • Delight Lib Logo (with text)
    Delight Lib Logo (with text)

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~610,000
Total Downloads
CurseForge
~300,000
Modrinth
~310,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works