Need help making the Glowing effect clientside only

Started by DriftWare on

Topic category: Help with modding (Java Edition)

Last seen on 14:57, 9. Aug 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help making the Glowing effect clientside only

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.

Last seen on 14:57, 9. Aug 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For some reason, I can't…
Mon, 02/28/2022 - 19:56

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;

}

}

Last seen on 12:53, 15. Sep 2023
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
did you ever figure this out…
Sun, 08/13/2023 - 17:23

did you ever figure this out as im trying to do the same thing