Added NMS InventoryUtils with a function to set the current recipe of an inventory, as a counter part to CraftingInventory#getCurrentRecipe!
It takes in a NamespacedKey and applies the associated recipe to the inventory. If the recipe doesn't exist, then it ignores it.
Added NMS InventoryUtils with a function to set the current recipe of an inventory, as a counter part to CraftingInventory#getCurrentRecipe! It takes in a NamespacedKey and applies the associated recipe to the inventory. If the recipe doesn't exist, then it ignores it.