Hello, i need some help with a complex procedure.
here's the situation :
i did a "marking" potion effect that occurs when i hit an entity with an athame (custom weapon)
i also did a grimoire with it's GUI with a button that creates a lightning
the problem is :
i want the lightning to strike at the position of a entity that has the "marked" potion effect
(The grimoire spells are
Lightning Strike : Stike lightning on marked entity
Fireball : Throw a fireball in front of you
shunpo : Teleports behind the marked entity)
can someone help me ?
To store data to entities, use NBT tags for entities.
To access all entities around to be affected, you need to wait for this ticket to be fixed: https://mcreator.net/tracker/issue/47617