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

Started by TidyGiant on

Topic category: Help with modding (Java Edition)

Last seen on 11:00, 2. May 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make swim speed slower using only effects (swim speed, not walk speed)

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 12:31, 22. Jan 2024
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 11:00, 2. May 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 11:00, 2. May 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 11:00, 2. May 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

Last seen on 11:40, 24. Mar 2024
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could try: If entity in…
Mon, 05/15/2023 - 14:35

You could try:

If entity in water/bubble column

Put entity in cobweb for x ticks

Last seen on 11:40, 24. Mar 2024
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ifk if that’s what you want…
Mon, 05/15/2023 - 14:36

Ifk if that’s what you want but it could work