Using procedures in a crafting recipe?

Started by john_nuts331 on Wed, 05/12/2021 - 17:08

Topic category: Help with modding (Java Edition)

Last seen on 16:52, 13. May 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Using procedures in a crafting recipe?
Wed, 05/12/2021 - 17:08

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