When Entity have item with any durability or NBT tags

Started by dfgqwertyuiop on

Topic category: Help with Minecraft modding (Java Edition)

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 dfgqwertyuiop on Wed, 12/27/2023 - 13:30