Cooking for Blockheads

Cooking for Blockheads

145M Downloads

IMC "RegisterNonFoodRecipe" doesn't seem to work

Wabbit0101 opened this issue ยท 0 comments

commented

Versions

  • Minecraft Version : 1.16.5
  • Forge Version: 36.1.0
  • Mod Version: 1.16.5-9.3.1
  • Do you use Sponge, OptiFine or Vivecraft (and which?): NONE

Describe the bug
Adding several items to non-food category using RegisterNonFoodRecipe doesn't seem to do anything. I'm still unable to craft those items when all ingredients present in cabinets and/or player inventory.

To Reproduce

  • Used code snippet like InterModComms.sendTo("cookingforblockheads","RegisterNonFoodRecipe",()->stack);
  • 'stack' is the item I'm trying to register (put some logs to verify items were sent)
  • Messages sent out during the InterModEnqueueEvent mod event at startup.
  • (I tested with simple items that use vanilla crafting recipe types like minecraft:crafting_shapeless)

Expected behavior
Provided the ingredients are available, I should be able to see the recipe for crafting the registered items.