Skip to content

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.

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.

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