How to track an entity with an nbt tag.

Started by mdpotato on

Topic category: Help with modding (Java Edition)

Last seen on 21:45, 30. Apr 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to track an entity with an nbt tag.

i have an item that when you hit an entity it gives them a logic nbt variable for true and i want to make a procedure to explode at every entity with that nbt tag.

how would i do this?

Last seen on 21:45, 30. Apr 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
anyone who finds this, you…
Thu, 03/24/2022 - 12:56

anyone who finds this,

you can just use the global trigger to add the nbt tag and use the same nbt tag check to explode them

my issue was that i wanted to do it in a command and didnt add the ForgeData parent tag