Mod NBT Ingredient Predicate by Drullkus

  • NBT Ingredient Predicate by Drullkus

    Create Recipes with Ingredients with partial NBT Matching!
    • 5.34 KB
    • 1.16.5
    • August 11, 2021
    • August 13, 2021
    • API and Library
      Server Utility
    NBT Ingredient Predicate
Mod Information
NameNBT Ingredient PredicateAuthorDrullkusDescriptionCreate Recipes with Ingredients with partial NBT Matching!
InformationDownloads:
Version: 1.16.5
Size: 5.34 KB
Updated at: August 13, 2021
Created at: August 11, 2021
Tags
API and Library
Server Utility

Use "nbt_ingredient_predicate:nbt_includes" instead of "forge:nbt" to enable ingredient NBT soft-including instead of hard-equality. Useful for Modpackers creating custom recipes through Datapacks who wish to create recipes with only partial NBT Matching.

 

 

Here is an example on Gist. You'll see that you can use both of these named Blocks of Amethyst to craft the Diamond instead of only the one without the Lore Text.