how to give an effect to every entity with an NBT logic tag in the procedure editor

Started by MrpGoat on

Topic category: Help with modding (Java Edition)

Last seen on 16:23, 9. Apr 2023
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to give an effect to every entity with an NBT logic tag in the procedure editor

I've been trying to add a spreading infection effect to my mod so that upon being hit with a certain weapon you are given a certain potion effect which gives you an NBT logic tag and when hitting another entity it is given the same tag, but the problem arose when I tried to make it so that every entity with said NBT tag have the potion effect and I can't seem to get that to work.

I'm using the visual script editor and the procedure condition: On world tick update

Thanks