Skip to content

适用于 Minecraft 1.20.1, 1.21.1 的 Delight Lib 模组

轻松为许多模组加载器和版本创建Farmer's Delight附加包。

起价 Axperty · Modrinth
次下载
24 次下载
次浏览
64 次浏览
已更新
已更新 13.10.2026

关于 Delight Lib 模组

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

Delight Lib — 截图 2

✨ 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
Delight Lib — 截图 3

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

如何安装 Delight Lib

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.20–26.3 on Fabric, Forge or NeoForge automatically, together with its dependencies: Farmer's Delight Refabricated, Farmer's Delight.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Fabric, Forge or NeoForge

    The loader must match the game version of the mod file, for example Minecraft 26.3. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file delightlib-26.09.16-26.3-fabric.jar (59 KB) for your game version and loader.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it. Required dependencies go there too: Farmer's Delight Refabricated, Farmer's Delight.

  4. Launch the loader profile

    Open “Mods” in the main menu: Delight Lib should be in the list.

On a server

  1. A server on Fabric, Forge or NeoForge

    The mod only works on a server with the same loader and game version, for example 26.3.

  2. File goes into the server’s mods folder

    Stop the server, put the mod file into the mods folder and start the server again.

  3. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

版本

含依赖项

Minecraft加载器文件日期操作
26.3Fabric26.359.5 KB 9
26.2Fabric26.259.8 KB 4
1.21.11Fabric1.21.11127 KB 1
26.1.2Fabric26.1.260.6 KB
1.21.1NeoForge1.21.158 KB 4
1.21.1Fabric1.21.159.6 KB
1.20.1Forge, NeoForge1.20.158.4 KB 6
1.20.1Fabric1.20.13.8 MB

常见问题

Which Minecraft versions does Delight Lib work on?

There are files for 1.20–26.3, 10 versions in total. The newest is 26.3.

Is Delight Lib for Forge or Fabric?

There are files for Fabric: 1.20–26.3, for Forge: 1.20–1.20.1 and for NeoForge: 1.20–1.21.1.

What does Delight Lib need to work?

Required: Farmer's Delight Refabricated, Farmer's Delight. Without them the mod will not start: dependencies go into the same mods folder.

Does Delight Lib work on a server?

Yes. Delight Lib works both in singleplayer and on a server.

Where can I download Delight Lib safely?

On this page: the file delightlib-26.09.16-26.3-fabric.jar (59 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 393b42752dd42463b8bfea99ebb615742b0ad00b.

评价

成为第一个评价 Delight Lib 的人

评论 0

登录后即可评论登录

相似模组

全部模组

了解更多

作者: Axperty许可证: MIT

您是作者吗? 联系我们 —— 我们将在 48 小时内下架。