I have been trying to create a custom GUI that can use custom crafting recipes. The crafting part doesn't work I assume that this is because of this:
public RecipeType<?> getType() {
return RecipeType.SMITHING;
}
In the common/crafting/ModUpgradeRecipe, however you cannot create a custom RecpeType because there is no forgeRegistry for it. Also whenever I put any item in the 2nd slot the game crashes, I didn't have that issue until and added the matter_essence_converter.json recipe file. Pls help me fix these issues. Here is git repo https://github.com/Awesomedude3595/1.18.1-Handheld-Inventions