Forbidden and Arcanus

Forbidden and Arcanus

53M Downloads

Datapack tutorial on wiki error

Mojken opened this issue ยท 3 comments

commented

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.

commented

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").

commented

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.

commented

Yes exactly, the datapack wiki is written for the latest version. There is currently no plan to revisit 1.20.1 to change this as it would break all existing custom rituals.