mojira.dev
MC-269477

Movement speed attribute does not affect swim speed and horizontal fall speed

Regardless of your movement speed attribute, your horizontal speed while falling and the speed at which you can move underwater will not change. As a result of this, when speed is slower than normal, jumping while moving makes you go relatively faster, but if it is faster than normal, jumping will make you go much slower.

Note: This is very noticeable when used together with scale attribute, i.e. if you make yourself a 16th of your size and speed and jump height and then move forward while jumping.

To reproduce

  1. Run the following command to decrease your movement speed:

    /attribute @s minecraft:generic.movement_speed base set 0.0001
  2. Jump while walking

  3. Swim in the water

To reset to regular movement speed, use the command

/attribute @s minecraft:generic.movement_speed base set 0.10000000149011612

Expected behaviour

The horizontal movement speed in the air and in water would also be affected by the movement speed attribute

Observed behaviour

The horizontal movement speed while in air or in water is the same as normal

Related issues

Comments

COMETC2021A1

relates to MC-2112

[MOD] Greymagic27

Please update the description to include steps to reproduce, as well as expected VS observed results.

Please also attach a video if possible showcasing the issue

PR0CESS

Steps to reproduce:
/attribute @s minecraft:generic.movement_speed base set 0.0001
Notice how when jumping you are able to move way further than you should be able to.

This is basically just MC-2112, since Horizontal fall speed is falling.

violine1101

Confirmed; I think it's probably reasonable to keep this separate from MC-2112 since, while it's essentially the same issue, modifying these attributes is in particular important for custom maps using this attribute, while MC-2112 only focuses on the vanilla impact.

[Mojang] Triage Team

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Chickenwinna

(Unassigned)

Confirmed

Entities

24w11a, 1.20.5 Release Candidate 2

Retrieved