Modpack Support
All wood modifiers are data-driven recipes, so modpacks can add or rebalance them.
How a wood modifier works
Every wood is a recipe of the type
Example (Warped Planks):
smoker:smoker_modifier in data/<namespace>/recipe/. Add a new file to support another plank, or override an existing one with a datapack to rebalance it.Example (Warped Planks):
{
"type": "smoker:smoker_modifier",
"material": "minecraft:warped_planks",
"modifiers": {
"saturation": 0.02,
"nutrition": 0.02,
"effect": "minecraft:absorption",
"effect_duration": 40
},
"crafting_time": 1400
} Recipes for woods from other mods can use the usual load conditions of NeoForge and Fabric, so they only load when that mod is installed.
material: the item used as smoking materialsaturation/nutrition: bonus as a fraction,0.05= +5%effect(optional): effect ID, e.g.minecraft:regenerationeffect_duration(optional): duration in ticks,20= 1 secondheal_amount(optional): extra healing in half heartscrafting_time: smoking time in ticks