---
title: "Version 7.4.0"
---


# Updating from `7.3.0` to `7.4.0`

## Added NBTPredicateIngredients
Added a type of ingredient to do more careful pattern matching on ItemStack NBT data, see [NBT Predicate Ingredient](../Recipes/Ingredients/NBT-Predicate-Ingredients.md).

## Balance sodium_bicarbonate_from_salt recipe
Removed a salt sink in the recipe to produce sodium bicarbonate from salt, see [GTM PR 4228: Balance chemical titanium recipe](https://github.com/GregTechCEu/GregTech-Modern/pull/4228).

## ChanceLogic rolls in Custom Recipe Logic
_This is only relevant to add-on mods with custom machine and recipe logic which overrides 
`RecipeRunner.fillContentMatchList()`, or otherwise directly call `ChanceLogic.roll()`._

The method signature of `ChanceLogic.roll()` was changed from

`roll(List<Content> chancedEntries, ChanceBoostFunction boostFunction, int recipeTier, int chanceTier, Object2IntMap<?> cache, int times)`

to

`roll(RecipeCapability<?> cap, List<Content> chancedEntries, ChanceBoostFunction boostFunction, int recipeTier, int chanceTier, Object2IntMap<?> cache, int times)`

(The chance roll function now also requires the RecipeCapability that is currently being processed to be passed in.)
