Started by
nechto
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to make a potion which sets entities on fire when the player attacks them. I tried using the when entity attacked global trigger but it does not work at all and if i try to put source entity in my procedure it just says missing dependencies, even though the global trigger should provide it.
Entity attacked:
If source entity = player and has active potion effect = your effect
Do: put on fire event
I literally said that even if i put entity attacked global trigger it still doesnt let me use source entity and overall completely ignores the trigger
Nah....you make a mistake somewhere
Attach pictures
I don't know how to attach pictures so i can just write the procedure here:
when entity attacked:
set source entity on fire for 10 seconds
and when i try to put this into "On effect active tick" block it says missing dependencies
https://imgur.com/a/24dIL9J
if source entity has active potion effect: POTION
do set event target entity on fire for 5 seconds
search before posting
RexCerv is correct, just make sure it is on global trigger entity attacked