Started by
DriftWare
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a Pvp equipment mod, and have this helmet the gives all entities within 32 blocks (besides yourself) the glowing effect. Problem is, I need this effect to only be clientside, so that only the person wearing the helmet can see the highlighted mobs.
For some reason, I can't post a screenshot of my code im using because it has to have a url.
Goes like this:
[Start]
If is provided world remote (client-side) {
for each entity as entity iterator at X Y Z in a square cube size 64;
if not entity iterator = Event/target entity{
add potion level 1 for 60 ticks to entity iterator type GLOWING;
}
}
did you ever figure this out as im trying to do the same thing