Text tag doesn't copy to the smelting result item

Started by viecha on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Text tag doesn't copy to the smelting result item

Hello,

I was making a mod where you can smelt a written tablet (that has the text tag as a component in it) into a heated tablet. The problem I have is that i can't transfer the text tag to the smelting result item (aka the heated tablet). I tried using the trigger Item is smelted/crafted in the written tablet item but neither of my methods worked, it justs puts out a blank message when right clicking my heated tablet item. Also, i probably can't use global variables because i want different heated tablets to have different messages on them. I seperated each method i tried in the image. Thank you

Procedure

You are setting tag to a…
Fri, 10/03/2025 - 14:00

You are setting tag to a copy of the item, as block says

Save copy to local variable, alter its value and then set your local variable stack to slot