Started by
Unspeakapug
on
Topic category: Help with Minecraft modding (Java Edition)
Can someone please help me and tell me what is wrong with this code. It is supposed to give the effect to all entities besides the ones listed in the command along with putting the particle around the person
Edited by Unspeakapug on Fri, 09/13/2024 - 23:45
Execute command /effect give @e[distance0.1..5] <Effect Name> <Duration> <Amplifier> <ShowParticles (True/False)> in the name of [Event/Target Entity].
Change the effect name to minecraft:effect or mod_name:effect and the distance=0.1..5 to the reach you want, the 0.1 should stay like that so it doesnt apply to you and the 5 is the radius
Image
Hope it helps.