[SOLVED] How to ignore item damage/NBT data in procedure?

Started by Cole Snapper on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] How to ignore item damage/NBT data in procedure?
Tue, 05/27/2025 - 19:51 (edited)

I want to make a procedure that checks for an item in the player's inventory but, the "has event/target entity in inventory" code block specifically matches data components, meaning, if an item is damaged or has its NBT data altered in any way, it suddenly doesn't count as the same item.

 

I'm using 2024.4 by the way.

Edited by Cole Snapper on Tue, 05/27/2025 - 19:51
This procedure block should…
Mon, 05/26/2025 - 20:10

This procedure block should not match based on that. Please open a bug report on our github and attach a demo workspace

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You're welcome and thanks…
Tue, 05/27/2025 - 19:38

You're welcome and thanks for helping.