Programmable Furnace

Turn the vanilla furnace into a script-driven machine: write smelting logic in a tiny in-game language, and each furnace runs it every tick.