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)

Active 1 year ago
Joined Mar 2022
Points:
508

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
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
Active 6 months ago
Joined Dec 2019
Points:
686

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 54
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 

Active 1 year ago
Joined Mar 2022
Points:
508

User statistics:

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

Thanks!