How do I make a player slow down without using the slowness effect?

Started by ItsFeniks on

Topic category: Help with modding (Java Edition)

Last seen on 14:17, 12. Feb 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a player slow down without using the slowness effect?
Sat, 12/02/2023 - 12:58 (edited)

So I want to make a potion mod and I am working on a heaviness effect (basically slowness but makes the player fall faster and also trample grass) and I don't want to use slowness because I am already making an effect. I want to use the "set event/target entity in cobweb for one tick" procedure but I don't know if it will work well.

Edited by ItsFeniks on Sat, 12/02/2023 - 12:58
Last seen on 15:41, 8. Feb 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
create an invisible block…
Sat, 12/02/2023 - 15:21

create an invisible block like the cobweb and place it on the player and change it location as the player moves when he has the effect 

Last seen on 14:17, 12. Feb 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks!
Sun, 12/03/2023 - 10:37

Thanks!