Download NBT Ingredient Predicate — Minecraft Mods — MetaMods

NBT Ingredient Predicate

Active

Downloads

0

Last update

2 years ago
Client
Fabric
Quilt
Forge
Neoforge
Libraries
Utils

NBT Ingredient Predicate

This mod provides developers and modpack creators with a powerful tool for working with NBT data in crafting recipes. Instead of the standard forge:nbt tag, which requires exact matching of all NBT data, you can use nbt_ingredient_predicate:nbt_includes for partial matching.

Mod demonstration

The main advantage of this approach is the ability to create recipes that work with items having only partially matching NBT data. For example, you can configure crafting to accept amethyst blocks with different lore texts, not just with a specific set of NBT tags.

This is particularly useful when developing custom recipes through datapacks, when flexibility in processing ingredient NBT data is required.

Project members
Drullkus

Drullkus

Created: 14 Aug 2021

ID: 13780