Datapack tutorial on wiki error
Mojken opened this issue ยท 3 comments
The datapack example for adding a forge recipe doesn't work, because it has "count" where the mod looks for "Count" (notice the capital 'C'). Changing the wiki is an easy fix, but it should probably actually be lowercase like every other value expected by the mod.
I don't see the issue here. The create_item ritual result uses a serialized ItemStack just like the vanilla recipe do. In 1.21.x this format has a property called "count" (in previous versions this may have been "Count").
You're saying vanilla minecraft changed this from "Count" to "count" in 1.21? I'm using 1.20, so that would explain the issue, then. Would also explain why I couldn't find the check in the code.