Started by
Izan
on
Topic category: Help with Minecraft modding (Java Edition)
I have a procedure and the event is check every tick of a loaded entity. It have a "If then if not" block. The "then" gives a potion effect but I want that the event only gives the potion effect just once. I need to have the "check every tick of a loaded entity" because if I dont have it the "if" dont work
Solution: In Then I put a "If then" block with a "no" and "have effect" block in the "if" and the "give potion effect" block in then.
Edited by Izan on Mon, 07/04/2022 - 11:20
You can detect if the entity has the potion effect applied to them, if they don't then apply it.