How to make swim speed slower using only effects (swim speed, not walk speed)

Started by TidyGiant on Mon, 06/13/2022 - 16:29

Topic category: Help with modding (Java Edition)

Last seen on 10:49, 6. Aug 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make swim speed slower using only effects (swim speed, not walk speed)
Mon, 06/13/2022 - 16:29

I don't know how to make the swimming speed slower in my fluid, Crude Oil (because viscosity doesn't work), and slowness doesn't work, so what do I need to do? I want to make a custom potion effect called Swim Slowness (the opposite of Dolphin's Grace), and it would basically be a custom slowness effect, but for fluids only (also i want code and possible procedures ran by the effect).

Last seen on 15:17, 6. Jul 2022
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
i guess for every tick that…
Mon, 06/13/2022 - 16:41

i guess for every tick that swim slowness is active, you could set the affected entity's velocity to half of what it is

Last seen on 10:49, 6. Aug 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
But procedures? What…
Tue, 06/14/2022 - 15:36

But procedures? What procedure blocks are needed in what order?

Last seen on 10:49, 6. Aug 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
The thing is there is no…
Tue, 06/14/2022 - 17:01

The thing is there is no procedure block "set entity velocity", so is there a procedure to SET the entity velocity, because there already is to get velocity but it's in x y z and i want blocks/second

Last seen on 10:49, 6. Aug 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
There also is walk speed and…
Tue, 06/14/2022 - 17:06

There also is walk speed and fly speed but not swim speed procedure blocks.