I suggest you put the code on github so we can see everything in context and try it for ourselves.
Posting snippets is pretty useless unless there is an obvious error.
One thing I can see is you have an ingredient "S" in your lance recipe but never use it in the recipe. I don't know what happens in that case.
You should probably check your log for errors/warnings
Finally, you are using the wrong tags if your aim is interoperability with other mods.
e.g. minecraft:ingots/steel should be forge:ingots/steel.
https://forge.gemwire.uk/wiki/Tags#Items
https://github.com/BluSunrize/ImmersiveEngineering/blob/1.18.2/src/generated/resources/data/forge/tags/items/ingots/steel.json