TwelveIterationMods / CookingForBlockheads

Minecraft Mod. Adds a cooking book and multiblock kitchens that only shows recipes you can make with what you currently have in your inventory.
https://mods.twelveiterations.com/mc/cooking-for-blockheads/
Other
79 stars 76 forks source link

Crashing After Adding CraftTweaker Shapeless Recipes #659

Closed Darkosto closed 1 year ago

Darkosto commented 1 year ago

Minecraft Version

1.20.x

Mod Loader

Forge

Mod Loader Version

47.1.44

Mod Version

16.0.0

Balm Version

7.0.7

Describe the Issue

Hey Blay!

I've seem to have discovered a problem when adding Shapeless recipes via CraftTweaker and Cooking for Blockheads not recognizing those recipes. For example, I've added a recipe for an Iron Pickaxe using a datapack both Shaped and Shapeless, Cooking for Blockheads correctly sees these recipes and allows them to be made:
image

and the shapeless via a datapack: image

This is the result of adding a Shapeless recipe via Crafttweaker (note that the recipe is craftable via a Crafting Table and does not error in the logs): image

More often than not there will be a crash when attempting to view this "empty" recipe (crash added to logs section below.

It seems like there may be an order of operations problem occurring as Cooking for Blockheads does not seem to know the CraftTweaker shapeless recipes properly exist. Let me know if I can answer any further questions, thanks!

Darkosto

Logs

https://gist.github.com/Darkosto/8e229ee32a426b4e571a2d3bef5e19dd

Do you use any performance-enhancing mods (e.g. OptiFine) or custom server distributions (e.g. SpongeForge)?

No response