Crafting Effects

Crafting effects can be used to make changes to the item when players modify modular items.

Crafting effects can be defined in JSON files within data/tetra/crafting_effects/ in your datapack.

Crafting effect

A definition of a datadriven crafting effect, crafting effects can be used to make things happen as players modify a modular item.

Format:
replaceoptionalboolean

Marks if this should replace or merge with existing entries (if any) for this schematic definition. The default behaviour for crafting effects added by other mods and datapacks is to merge values set by those into the existing entry (if any). By setting replace to true it's possible to completely replace crafting effects registered by tetra, which can be useful when one wants to remove something.

requirementoptionalCrafting effect requirements

Determines under which conditions the crafting effect should apply

outcomes
array[
Crafting effect outcome
]

Determines what happens when the crafting effect applies.