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

Started by ItsFeniks on

Topic category: Help with Minecraft modding (Java Edition)

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
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