Using procedures in a crafting recipe?

Started by john_nuts331 on

Topic category: Help with modding (Java Edition)

Last seen on 21:55, 25. Mar 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Using procedures in a crafting recipe?

I would like to create a smithing recipe in which NBT data of a written book in slot 2 is copied over to the resulting. item (a tool). This would be used to add the text inside the book as item lore. Is there a way to use a procedure for this? I've made one which does exactly what i described, but i don't think there's an obvious way to apply this when crafting the item, seeing as it isn't a custom item. any help is appreciated