For example, the intent of the below code is to take recipe that has a treated wood slabs as input and replace it with treated wood planks
event.replaceInput(
{ input: '#forge:treated_wood_slab' },
'#forge:treated_wood_slab',
'#forge:treated_wood'
)
But this, of course, also includes recipes that just use #minecraft:slabs because treated wood slabs are IN minecraft slabs