Could someone send me sources where i could search on how to make a custom furnace type block? 1.19

I want to make a block that uses a barrel gui, the block will basically get materials and break them on multiple new resources, so for example i could put a porkchop and it would give me an "fat" item and a "protein" item for example, but i can't find any place where i could search how to do something like this. To be more specific on the things i'm searching is: -Inventory templates -custom crafting benches but if someone thinks that they could share something else that might help me i would greatly apreciate
Continue to help post