When Entity have item with any durability or NBT tags

Started by Tersordo_x2_404 on

Topic category: Help with modding (Java Edition)

Last seen on 04:55, 30. Dec 2023
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When Entity have item with any durability or NBT tags
Wed, 12/27/2023 - 13:30 (edited)

I need to condition when person have item(elytra) with any durability or enchantments, so any NBT tags.

Now I have this: https://freeimage.host/i/JRXPMAl

 

What I need to do to get this result?

Also did I correctly did trigger(on player tick), I am doing server-side only mod, that will damage persons who holding elytras so. Is it correct?

Thanks in advance

Edited by Tersordo_x2_404 on Wed, 12/27/2023 - 13:30