All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Nbt Crafting

Nbt Crafting

by Siphalor • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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.



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

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.19
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.19
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.19
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.19
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.19
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.19
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.19
Fabric
last yr. 1
1.18.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.18.1
Fabric
last yr. 1
1.17
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.18.1
Fabric
last yr. 1
1.17
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.18.1
Fabric
last yr. 1
1.17
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.18.x
Fabric
last yr. 1
1.17
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.17
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.17
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.17
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.17
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.17
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.17
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
21w15a
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
21w15a
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
21w15a
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
21w15a
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
21w15a
Fabric
last yr. 1
21w15a
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
21w15a
Fabric
last yr. 1
21w07a 21w06a 21w05b +4
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
20w51a 20w49a
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
20w51a 20w49a
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
20w51a 20w49a
Fabric
last yr. 1
20w51a 20w49a
Fabric
last yr. 1
20w51a 20w49a
Fabric
last yr. 1
20w51a 20w49a 20w48a +1
Fabric
last yr. 1
1.16.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
1.15.x
Fabric
last yr. 1
[2.2.3+mc1.19] [1.19] 2.2.3 by Siphalor on Nov 22, 2022
Download
## Version 2.2.3

  • For versions 1.18 and above:** Critical compatibility fix with the latest Fabric API versions (0.67.0+).

Also contains a bunch of minor internal improvements around recipe remainders.

Release by Siphalor
## Version 2.2.3

  • For versions 1.18 and above:** Critical compatibility fix with the latest Fabric API versions (0.67.0+).

Also contains a bunch of minor internal improvements around recipe remainders.

Release by Siphalor
## Version 2.2.3

  • For versions 1.18 and above:** Critical compatibility fix with the latest Fabric API versions (0.67.0+).

Also contains a bunch of minor internal improvements around recipe remainders.

Release by Siphalor
## Version 2.2.3

  • For versions 1.18 and above:** Critical compatibility fix with the latest Fabric API versions (0.67.0+).

Also contains a bunch of minor internal improvements around recipe remainders.

Release by Siphalor
## Version 2.2.3

  • For versions 1.18 and above:** Critical compatibility fix with the latest Fabric API versions (0.67.0+).

Also contains a bunch of minor internal improvements around recipe remainders.

Release by Siphalor
## Alpha 3 of Version 3.0.0


Release by Siphalor
## Alpha 3 of Version 3.0.0


Release by Siphalor
## Alpha 3 of Version 3.0.0


Release by Siphalor
## Alpha 2 for Version 3.0.0

  • Integrate fixes from versions 2.2.0-2.2.2

Release by Siphalor
## Alpha 2 for Version 3.0.0

  • Integrate fixes from versions 2.2.0-2.2.2

Release by Siphalor
## Alpha 2 for Version 3.0.0

  • Integrate fixes from versions 2.2.0-2.2.2

Release by Siphalor
## Alpha 2 for Version 3.0.0

  • Integrate fixes from versions 2.2.0-2.2.2

Release by Siphalor
## Alpha 2 for Version 3.0.0

  • Integrate fixes from versions 2.2.0-2.2.2

Release by Siphalor
[2.2.2+mc1.19] [1.19] 2.2.2 by Siphalor on Oct 23, 2022
Download
## Version 2.2.2

  • Fixed a big bug with potion ingredients randomly affecting completely other recipes.
  • You can now use the potion shorthand with any item or tag.
  • Fixed a theoretical race condition, if you would play for a very long time.

Release by Siphalor
## Version 2.2.2

  • Fixed a big bug with potion ingredients randomly affecting completely other recipes.
  • You can now use the potion shorthand with any item or tag.
  • Fixed a theoretical race condition, if you would play for a very long time.

Release by Siphalor
## Version 2.2.2

  • Fixed a big bug with potion ingredients randomly affecting completely other recipes.
  • You can now use the potion shorthand with any item or tag.
  • Fixed a theoretical race condition, if you would play for a very long time.

Release by Siphalor
## Version 2.2.2

  • Fixed a big bug with potion ingredients randomly affecting completely other recipes.
  • You can now use the potion shorthand with any item or tag.
  • Fixed a theoretical race condition, if you would play for a very long time.

Release by Siphalor
## Version 2.2.2

  • Fixed a big bug with potion ingredients randomly affecting completely other recipes.
  • You can now use the potion shorthand with any item or tag.
  • Fixed a theoretical race condition, if you would play for a very long time.

Release by Siphalor
[2.2.1+mc1.19] [1.19] 2.2.1 by Siphalor on Oct 08, 2022
Download
## Version 2.2.1

  • Fixed error logging of dynamic ingredient resolution when using recipes with number ranges in ingredients (popped up via EMI)
  • Fixed an issue when converting JSON bytes to NBT (shouldn't have a noticeable effect)

Release by Siphalor
## Version 2.2.1

  • Fixed error logging of dynamic ingredient resolution when using recipes with number ranges in ingredients (popped up via EMI)
  • Fixed an issue when converting JSON bytes to NBT (shouldn't have a noticeable effect)

Release by Siphalor
## Version 2.2.1

  • Fixed error logging of dynamic ingredient resolution when using recipes with number ranges in ingredients (popped up via EMI)
  • Fixed an issue when converting JSON bytes to NBT (shouldn't have a noticeable effect)

Release by Siphalor
## Version 2.2.1

  • Fixed error logging of dynamic ingredient resolution when using recipes with number ranges in ingredients (popped up via EMI)
  • Fixed an issue when converting JSON bytes to NBT (shouldn't have a noticeable effect)

Release by Siphalor
## Version 2.2.1

  • Fixed error logging of dynamic ingredient resolution when using recipes with number ranges in ingredients (popped up via EMI)
  • Fixed an issue when converting JSON bytes to NBT (shouldn't have a noticeable effect)

Release by Siphalor
[2.2.0+mc1.19] [1.19+] 2.2.0 by Siphalor on Sep 20, 2022
Download
## Version 2.2.0

  • Fixed an issue with certain references not resolving correctly, especially noticeable in crafting recipes

  • Changes promoted from the beta:**

  • Improve the matching of ingredients to input stacks.
This fixes a long-standing bug that lead the mod to incorrectly resolve dollar references in the case of multiple ingredients for the same item.
  • For 1.17+:** Fixed an issue with bundles in NBT recipes allowing to dupe items

Release by Siphalor
## Version 2.2.0

  • Fixed an issue with certain references not resolving correctly, especially noticeable in crafting recipes

  • Changes promoted from the beta:**

  • Improve the matching of ingredients to input stacks.
This fixes a long-standing bug that lead the mod to incorrectly resolve dollar references in the case of multiple ingredients for the same item.
  • For 1.17+:** Fixed an issue with bundles in NBT recipes allowing to dupe items

Release by Siphalor
## Version 2.2.0

  • Fixed an issue with certain references not resolving correctly, especially noticeable in crafting recipes

  • Changes promoted from the beta:**

  • Improve the matching of ingredients to input stacks.
This fixes a long-standing bug that lead the mod to incorrectly resolve dollar references in the case of multiple ingredients for the same item.
  • For 1.17+:** Fixed an issue with bundles in NBT recipes allowing to dupe items

Release by Siphalor
## Version 2.2.0

  • Fixed an issue with certain references not resolving correctly, especially noticeable in crafting recipes

  • Changes promoted from the beta:**

  • Improve the matching of ingredients to input stacks.
This fixes a long-standing bug that lead the mod to incorrectly resolve dollar references in the case of multiple ingredients for the same item.
  • For 1.17+:** Fixed an issue with bundles in NBT recipes allowing to dupe items

Release by Siphalor
## Version 2.2.0

  • Fixed an issue with certain references not resolving correctly, especially noticeable in crafting recipes

  • Changes promoted from the beta:**

  • Improve the matching of ingredients to input stacks.
This fixes a long-standing bug that lead the mod to incorrectly resolve dollar references in the case of multiple ingredients for the same item.
  • For 1.17+:** Fixed an issue with bundles in NBT recipes allowing to dupe items

Release by Siphalor
## Beta 1 of Version 2.2.0

  • Improve the matching of ingredients to input stacks.
This fixes a long-standing bug that lead the mod to incorrectly resolve dollar references in the case of multiple ingredients for the same item.
  • For 1.17+:** Fixed an issue with bundles in NBT recipes allowing to dupe items

This is a beta release because reference resolution fix may have unexpected side effects.
As always, please report all issues that you encounter on the issue tracker :)

Release by Siphalor
## Beta 1 of Version 2.2.0

  • Improve the matching of ingredients to input stacks.
This fixes a long-standing bug that lead the mod to incorrectly resolve dollar references in the case of multiple ingredients for the same item.
  • For 1.17+:** Fixed an issue with bundles in NBT recipes allowing to dupe items

This is a beta release because reference resolution fix may have unexpected side effects.
As always, please report all issues that you encounter on the issue tracker :)

Release by Siphalor
Nbt Crafting Icon
Download Nbt Crafting
Select game version
Select platform