What are you searching for?

Nbt Crafting

Nbt Crafting

Nbt data in json recipes! Cauldron recipes, brewing recipes and a hella lot more!

download 61.3K Downloads · favorite 60 Followers · Updated 3 years ago
Fabric Library Utility 1.15 1.15.1 1.15.2 1.16.2 1.16.3 +32 more

Versions

inventory_2
[1.19] 2.2.3

2.2.3+mc1.19 · 3 years ago · 284.94 KB

Release download
Fabric 1.19 1.19.1 1.19.2
inventory_2
[1.18.2] 2.2.3

2.2.3+mc1.18.2 · 3 years ago · 271.38 KB

Release download
Fabric 1.18.2
inventory_2
[1.17] 2.2.3

2.2.3+mc1.17.1 · 3 years ago · 271.25 KB

Release download
Fabric 1.17 1.17.1
inventory_2
[1.16.2+] 2.2.3

2.2.3+mc1.16.4 · 3 years ago · 270.21 KB

Release download
Fabric 1.16.2 1.16.3 1.16.4
inventory_2
[1.15.x] 2.2.3

2.2.3+mc1.15.2 · 3 years ago · 260.72 KB

Release download
Fabric 1.15 1.15.1 1.15.2

About

This project is currently unmaintained and looking for maintainers interested in further development.

For further information or if you want to help out, please join the Discord :)


This mod extends the vanilla json datapack/recipe system. It does not provide an own scripting language.


Discord


About

It's a "simple" fabric mod which allows you to add/change JSON crafting/cooking/etc. recipes to use nbt input and output.

Everything is kept nicely visualized in the vanilla gui.

This can be achieved through the now reintroduced data attribute.

For more information see the wiki pages.

You may want to use this mod with Cotton since this enables you to load datapacks globally and to remove unwanted recipes.

Extras :)

Nbt Crafting also gives you the ability to add new brewing recipes and enables you to add cauldron and anvil recipes. See the wiki for an explanation of these features.

Due to some additions made with this mod the recipe book displays also the output amount of all recipes - yay!

Server Usage

This mod works also server-side only. This causes minor cosmetic issues at the client side.

Example

A simple recipe to get a cool "Battle Axe" of a diamond and a diamond sword with less than 41 damage.

{
  "type": "crafting_shapeless",
  "ingredients": [
    {
      "item": "minecraft:diamond_sword",
      "data": {
        "require": {
          "Damage": "$..40"
        }
      }
    },
    { "item": "minecraft:diamond" }
  ],
  "result": {
    "item": "minecraft:diamond_axe",
    "data": {
      "display": {
        "Name": "{\"text\":\"Battle Axe\"}"
      },
      "Enchantments": [
         {
           "id": "minecraft:sharpness",
           "lvl": 10
         }
      ]
    }
  }
}

Demo

Example Recipe ingame

Mod support

Every mod which is based on the default vanilla recipe system and which uses the Ingredient class should be compatible in terms of input nbt matching.

Feedback

If you encounter bugs or have suggestions just open a GitHub issue.

License/Modpack usage

This mod is released under Apache 2.0. Feel free to include it in modpacks etc. as long as you attribute me :)

open_in_new View on Modrinth
Compatibility
Client: Optional Server: Required
gavel Apache-2.0

Conversation

What are your thoughts?

Related projects

Library
Fabric API
Fabric API

by modmuss50

Lightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.

download 127.9M
favorite 27,365
Library
Cloth Config API
Cloth Config API

by shedaniel

Configuration Library for Minecraft Mods

download 94.0M
favorite 13,653
Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.0M
favorite 12,704
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 77.4M
favorite 22,097
lock Cookie consent

SkinMC uses cookies to provide functionality and features.