Reading NBT tags of an item by another item

Started by Raspad on

Topic category: Help with modding (Java Edition)

Last seen on 10:29, 6. Apr 2024
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Reading NBT tags of an item by another item

So, in general, I have something like a weapon.. And when reloading, it consumes an item that has the NBT tag “reserve”, assigning its value to itself. An item that is not a weapon has a meaning... But how to count it correctly? Because what happened to me returns 0.