mojira.dev
MC-48144

HUGE knock back when using jump boost

When ever you use the command /effect <Player> 8 <1-1,000,000> 255, the player doesn't and as far a i know isn't suppose to jump nor get falling damage, but when ever you get hit while jumping you get a HUGE knock back i noticed this when i was on fire with the effect enabled an i went flying up in the air uncontrollably. To re-enact just set the jump boost affect on 255 for your self and jump while taking damage from something while your in survival mode.

Related issues

Comments

migrated

I would like to voice my concern over the dismissal/supposed duplication of this issue, specifically with jump boost. If you are unaware, many plugin developers and map builders lack an official way to disable the player from jumping. This is a seemingly simple problem that has no real resolution, other than setting a very high Jump Boost effect. However, as seen by this ticket and others like it, this causes undue side effects of rather large knockback when being hit and still being able to gain small amounts of speed by jumping while sprinting.

The Minecraft community at large has not discovered a way to disable jumping on the client's side, only how to mitigate it's effects through server code or command blocks. High jump boost gets the job done in some situations but has the aforementioned side effects and is not "clean". It would be great to see the ability to control the player's movements in the future, such as enabling/disabling sprinting, jumping, swimming, etc. without needing to resort to hacky solutions like potion effects.

migrated

That doesn't change anything, the amplifier is still unsupported.
You can store the player's Y position to a marker, and teleport the player to it when the jump stat increases. Example: https://github.com/Medacorp/Luigi-s-Mansion/blob/master/Luigi's%20Mansion/datapacks/Luigi's%20Mansion/data/luigis_mansion/functions/main/prevent_jump.mcfunction If this is ran fast enough, the client doesn't even move up/down.

For feature/change requests, go to feedback.minecraft.net

migrated

I'm less speaking to the fact the amplifier in unsupported and more saying that people would not be trying to misuse it if a better method existed, especially for something so conceptually simple as stopping a jump. I do not run command blocks on my server so I instead have implemented a mechanic to cancel jump movement when it is detected, however even though you claim "the client doesn't even move up/down", this is in fact untrue in my case when you can only control the behavior from the server side. Cancelling jumps results in jerky movement that increases depending on the ping of the player.

Side note: The original topic of this ticket in particular has to do with the excessive amounts of knockback applied to a player that also has jump boost, which I think is a bug and unintended side effect of jump boost, regardless of whether the specific amplifier is supported. 

migrated

(Unassigned)

Unconfirmed

Minecraft 1.7.4

Retrieved