public static void onItemCrafted(EntityPlayer player, ItemStack item, IInventory craftMatrix) { for (ICraftingHandler handler : craftingHandlers) { handler.onCrafting(player, item, craftMatrix); } }
public static void onItemSmelted(EntityPlayer player, ItemStack item) { for (ICraftingHandler handler : craftingHandlers) { handler.onSmelting(player, item); } }
public static void registerCraftingHandler(ICraftingHandler handler) { craftingHandlers.add(handler); }
public static ICraftingHandler buildCraftingHelper(BaseModProxy mod) { return new ModLoaderCraftingHelper(mod); }