One of the RePixture crafting recipes for my mod wasn't working, but it was fixed after replacing the alias with the new itemstring.
This is the original recipe: (d. and i. tables are defined separately)
d.tardis = "drwho_tardis:tardis"
d.arton_crystal = "drwho_tardis:arton_crystal" -- this item
i.block_steel = "rp_default:block_steel"
d.circuitry_board = "drwho_tardis:circuitry_board"
crafting.register_craft({
output = d.tardis,
items = {
i.block_steel.." 6",
d.arton_crystal, --
d.spacetime,
d.circuitry_board.." 1",
}
})
I previously renamed the arton crystal to artron crystal, and there is an alias:
core.register_alias("drwho_tardis:arton_crystal", "drwho_tardis:artron_crystal")
But I hadn't remembered to replace the reference in the d. table with the new itemstring. It worked in MTG so I didn't bat an eye. So the crafting recipes were being registered with an alias and not the actual itemstring - and in RePixture this meant the crafting didn't work.
The recipe still displayed in the menu with the correct items, but putting in those items did not craft it. I suspect that there is a place in the code that isn't checking against aliases.
When I replaced the value:
d.arton_crystal = "drwho_tardis:artron_crystal"
the crafting worked properly.