mojira.dev
MC-2112

Adjusted speed does not affect sprint-jumping/falling/floating with levitation/floating with NoGravity

When the player's speed is adjusted, the affects are not applied when sprint-jumping. Players under the affects of slowness potions, for instance, can still sprint-jump at nearly normal speeds. They are only slowed during the brief moments that they touch the ground.

Similarly, players in creative mode do not have their flying speed affected by speed potions. It seems Minecraft does not apply these affects to player motion when the player is airborne in general.

Steps to Reproduce

  • Give yourself the slowness effect:

    /effect give @s minecraft:slowness 100 5 true
  • Start running and take note of the speed at which you're traveling.

  • Start running and jumping and notice how you are now traveling much faster.

Observed Behavior

Adjusted movement speed isn't considered when mid-air.

Expected Behavior

Adjusted movement speed would be considered even when mid-air.

Related issues

MC-2832 'Jump boost' effect negates forward momentum while under 'Speed' potion effect. MC-5438 Speed modifiers have no effect when the player is not on the ground MC-10562 Effect Of Speed Doenst Jump Correcly MC-12851 Beacon speed and jumping behavior MC-44108 Slowness effect has no effect when in the air MC-47314 When player speed is above 1, your jumping speed is normal MC-50174 Speed effects have no effect when the player is not on the ground MC-71539 Cannot freeze players completely due to sprint jumping MC-84817 Movable while having slowness effect. MC-101345 Speed doesn't work while leviating MC-124165 No Gravity mobs move with moving attribute is 0 MC-124651 Slowness and Speed do not affect aerial movement. MC-213686 Jumping while sprinting with a speed effect slows player down MC-220156 Slowness effect doesn't prevent sprint jumping at regular speed MC-227736 Slowness and speed effects don't work while jumping or flying. MC-268323 `minecraft:generic.movement_speed` does not affect air movement MC-271258 Jumping negates movement_speed attribute MC-271657 Speed potion doesn't increase flying speed in creative mode

Attachments

Comments

migrated
[media][media]
migrated

Bumpity? I'm not sure why this was overlooked when the effects were introduced, but it'd be very nice to have it fixed. At least a response if no fix is planned.

Or perhaps allow me to join Mojang so I can help you guys fix it myself? šŸ˜‰

kumasasa

Stop bumping.
Plonk

migrated

I thought this was intended. If you look at Sethbling's Video on this it explains that the faster you are the slower your sprint jump goes (well it depends on which speed you set the potion to). Although he uses MCEdit to help make custom potions, I think this may explain some things. Hopefuly I don't look like an idiot and read the explanation wrong but I hope this helps <:)http://www.youtube.com/watch?v=SCsoexRngNs

migrated

Will there at least be a response to this?

migrated

This site is for bug reports only. Feature and improvement suggestions are not currently being tracked here.

migrated

I think this is very clearly a bug. When you jump you expect forward motion to carry through. It's natural. Jumping in Minecraft at the moment is far from natural, and it has a very detrimental effect on gameplay (especially when potions and boosts are being used).

migrated

This is clearly a bug as far as I'm concerned. Instead of having this get insta-nixed by the OPINIONS of the moderators, how about you leave this open so that MOJANG can look at it.

trazlander

Agree. Why was this labeled invalid?

A player cannot move AT ALL when walking, so why should he be allowed to sprint? if walkspeed = 0 just cancel sprint.

migrated

TrazLander - See the comment above from [Mod] Anon Ymus for why it is considered invalid.

migrated

How is this not a bug.

You can't surely tell me that its 100% intended for players to sprint jump normally when a splash potion of slowness is thrown on them?

Ezekiel

Reopened

migrated

I have a feeling this is intentional. As of Minecraft Wiki (http://minecraft.gamepedia.com/Status_effect#List_of_effects ):
Speed: Increases walking speed by 20%
It also makes sense. The potion is supposed to 'make your legs go faster', and in real life, you can't swing your legs while airborne to move forward.

Torabi

Simple, common-sense physics dictates that forward momentum should be preserved when you jump. If you're moving quickly on the ground, you should not lose speed when you jump forward in excess of the loss due to air resistance.

migrated

When people jump while standing still, they shouldn't have the speed modifier.
When people jump while sprint jumping, it doesn't make sense to give them the same speed multiplier as if they were standing still.
Sprint jumping is specifically intended to do long jumps, and ignoring the speed potion is weird.

migrated

Why is this being postponed? This is a huge bug. It allows players to walk at normal speed while jumping for the entire duration of slowness effect.

Torabi, common-sense physics dictates that forward moment should beĀ preserved while jumping, but this bug allows momentum to beĀ gained while in the air. Either you don't understand simple physics, or haven't looked at the bug. It's as much a bug asĀ MC-40949

Mojang, how is this in the game for so long? Players shouldn't be able to negate slowness just by starting to jump.

FaRo1

Please use the "visual" mode to check how your comment looks before you send it, you just caused 52 mails to be sent.

"Postponed" means that it won't be fixed soon, but nobody has claimed it wasn't a bug (since 2016 at least). Postponing can have various reasons, for example if something is hard to fix. I don't know enough about how player movement is handled in the code to tell you how hard or easy this would be to fix.

Torabi

@unknown, my comment was in response to the claims that this wasn't a bug. As for why it's been postponed, the reason is much the same as why it's been in the game for so long. The player movement code is ancient and ugly. Most of the bugs related to it would be difficult to fix, and there's a considerable risk that attempting to do so would introduce new bugs. It would be safer, cleaner, and easier to overhaul that section of code completely than to make changes to it, and thus most bugs related to it will probably be postponed until they can fit it into their development schedule.

migrated

The previous workaround for this when using commands to administratively stop a player from moving was to give them a jump boost of greater than 128 (effectively a negative jump boost, due to signed/unsigned byte value conversions).
This workaround no longer works as of 1.14.2-pre2, making this issue a much bigger one again than it has been.
I'd be happy if there was at least a working workaround.

In 1.14.2-pre2 you don't even need to be sprinting. With a slowness effect of 127 and normal jumping you can progress at almost normal walking pace.

migrated

Since this was reopened, it affects 1.14, 1.14.1, 1.14.2, 1.14.3, and 1.14.4.

migrated

Confirmed for 20w13b

migrated

In 1.16.1

migrated

In 1.16.3

gaspoweredpick

This also happens with the new freezing effect in 20w46a.

Avoma

I'd like to request the ownership of this report as the reporter has been inactive since March 2014.

Avoma

Can confirm in 20w48a.

Avoma

Can confirm in 20w51a. Requesting Ownership.

Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w05a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w06a.

Avoma

Can confirm in 21w07a. Video attached.

Avoma

Can confirm in 21w11a.

Avoma

Can confirm in 21w15a. Here are some steps to reproduce this issue:

Steps to Reproduce:

  • Effect yourself with slowness.

/effect give @s minecraft:slowness 100 5 true
  • Start running and notice the speed at which you are traveling at.

  • Start running and jumping.
    ā†’Ā āŒ Ā Notice how you are now traveling much faster.

Avoma

Can confirm in 21w17a.

Avoma

Can confirm in 1.17.

Avoma

Can confirm in 1.17.1.

Avoma

I am able to confirm this behavior in 21w39a. Here are some extra details regarding this issue.

The Bug:

Adjusted movement speed isn't considered when mid-air.

Steps to Reproduce:

  • Give yourself the slowness effect.

/effect give @s minecraft:slowness 100 5 true
  • Start running and take note of the speed at which you're traveling.

  • Start running and jumping and noticeĀ how you are now traveling much faster.

Observed Behavior:

Adjusted movement speed isn't considered when mid-air.

Expected Behavior:

Adjusted movement speed would be considered even when mid-air.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.18.2.

Avoma

Can confirm in 1.19.

migrated

speed only effects ground movement to stop it from being overpowerd

Avoma

Can confirm in 1.19.1. @unknown, the "Mojang Priority" assigned to this ticket states otherwise and that the current behavior is a valid bug.

Avoma

Can confirm in 1.19.2.

migrated

@HubbiGamingTV dude, if it'd be OP, then everything is OP. Like, with this bug one can just sprintjump away of the effect. Right now, slowness effect is completely useless because of this bug.

That's why it is a bug that should be fixed asap. I still dont understand why it hasn't yet been fixed. It's anchient, there is a mob that uses it, there is no incentive in using the slowness effect as a debuff and it even is supposed to be the """downside""""of a powerful potion effect

Brain81505

Can confirm in 23w05a

Brain81505

Can confirm in 23w06a

Nicoder

Can confirm in 1.20.4, also applies to the `minecraft:generic.movement_speed` attribute in addition to potion effects

[Mod] Jingy

migrated

(Unassigned)

Confirmed

Platform

Normal

Player

Minecraft 1.4.2, Minecraft 1.4.3, Minecraft 1.4.7, Minecraft 1.5, Minecraft 1.7.5, ..., 1.21 Pre-Release 4, 1.21.1, 24w33a, 1.21.4, 25w06a

Retrieved