NBT tag not changing

Started by LazerUndefined on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
NBT tag not changing

I did on player tick, for each slot of inventory of Event/target entity get contents copy as itemstack iterator

and set custom data number tag to add a nbt tag when ever the item is in inventory.

I check my item but it didn't add any nbt tags, is it because of its a content copy? if it is, then how do I apply to the real item in inventory?