I've implemented a makeFacedBlock as you suggested, rewrote furnace to use it and added handlers for dispensers, pumpkins and jack-o-lanterns. One thing that bothers me a bit is the almost identical code in furnace/dispenser and pumpkin/jack_o_lanterns. I could combine these and make them accept both type and decFront, but I'm not sure that makes it much better.
I've implemented a
makeFacedBlock
as you suggested, rewrotefurnace
to use it and added handlers for dispensers, pumpkins and jack-o-lanterns. One thing that bothers me a bit is the almost identical code in furnace/dispenser and pumpkin/jack_o_lanterns. I could combine these and make them accept both type and decFront, but I'm not sure that makes it much better.