Can't add potion effects to other entities

Started by EndericPhantom on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can't add potion effects to other entities

Hello Guys, I wanted to create a procedure for my sword that should give every mob except players the glowing 10 effect for 10 seconds. But it doesn't work, and I don't know why.

 

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use the command: /effect…
Wed, 02/19/2025 - 01:25

Use the command: /effect give @e[type=!minecraft:player] minecraft:glowing 10 10