Trying to use commands to add potion effect to entitys, but they dont get the effect.

Started by biggie cheese on

Topic category: Help with modding (Java Edition)

Last seen on 04:59, 27. Jun 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trying to use commands to add potion effect to entitys, but they dont get the effect.

I have made a sword and i want it to be able to "stop time" by right clicking. To do this, i am just applying speed 255 to all entitys. However, this command simply wont work. I have tried adding a "give @s dirt" command and that worked fine, i just cannot give entitys potion effects. Any idea on what is happening? ( i tried to upload a picture but i dont know how to get the url, i will try to post it in the comments)

 

Last seen on 04:59, 27. Jun 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Sun, 06/19/2022 - 04:13

picutre of the procedures

Last seen on 04:59, 27. Jun 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
btw it is supposed to be…
Mon, 06/20/2022 - 06:18

btw it is supposed to be slowness not speed

 

Last seen on 11:34, 9. Oct 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how about you use the pre…
Wed, 07/27/2022 - 08:43

how about you use the pre-made block instead and apply it to all entities in a certain radius with the radius being set to a high number like 200 etc. and then clear it for the players