Using procedure to find entity based on nbt tag.

Started by CoolCaution on

Topic category: Help with modding (Java Edition)

Last seen on 21:37, 6. Apr 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Using procedure to find entity based on nbt tag.

I have a lot of mobs (most used as sub entities for entity ageing) but in this procedure I want to locate an entity based on its nbt tag and effect said located entity with a potion. I have 100+ entities and it would take forever too account for all of them for this procedure so i've been using "creature" type entity to hopefully account for all of my entities and its worked for my other procedures but it's not working here. So this a shorten version of what I want the procedure to look like "if in 1000 block radius exist (entity of type creature), if entity nbt tag number (for example): Dad = entity/event nbt tag number Dad do set creature potion effect glowing. This would be even better if I was able to make it work for multiple entities but for now this will do. So i've basically made the procedure look like that but it's still not working. This is a pretty big part of my mods update and would be a shame if I had to cut it out. 

Last seen on 21:37, 6. Apr 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
?
Sat, 03/12/2022 - 14:57

?