modify custom data attribute in custom recipe (1.21.1)
I have an item that uses the
minecraft:custom_datafield to store information. I'm trying to make a custom recipe that modifies this information by adding a specific value. I feel like I have a basic understanding of how thecustom_dataandattribute_modifierswork, but I'm struggling to get them working together.some more information, if it helps:
- the recipe involves Create contraptions, but afaik that shouldn't change the data format for the result item
- I'm trying to increment the
tagStockcustom data field by100each time the recipe is completed