In a new Survival map on the latest snapshot (14w02c), when reached the edge of a flowing water stream, my character jumped up a block without any user interaction.
I attached a short clip of this behavior. I never pressed the jump key in this video, the only keys I used were the WASD to move to the sides. Notice that once I'm pushed by the water to a block and mine that block, I jump up.
This affects all entities that extend EntityLivingBase
, most notably players and armor stands.
Code analysis
Based on 1.11 decompiled using MCP 9.35 rc1
Method: net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(float, float)
Code piece:
if (this.isCollidedHorizontally && this.isOffsetPositionInLiquid(this.motionX, this.motionY + 0.6000000238418579D - this.posY + d0, this.motionZ))
{
this.motionY = 0.30000001192092896D;
}
Looks intended as it explicitly does this.
Linked issues
is duplicated by 10
relates to 3
Attachments
Comments 51
Is this still a concern in the current Minecraft version 14w10c / Launcher version 1.3.10 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
I will try to reproduce on 14w10c but I experienced the same behavior on 1.7.5 the other day while working with water streams. Will try to create a repro.
Bug reproduced on 1.7.5 creative mode.
Video demonstration:
http://www.youtube.com/watch?v=R_T1occhy9g
The "jumps" at the water edge are performed without pressing Spacebar.
Is this still a concern in the current Minecraft version 14w21b / Launcher version 1.4.4 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
This also seems to affect lava. At least, I think it is this issue but it might also be MC-8959.
As a character, I have the same bug sometimes.
Last time it happened was:
https://www.youtube.com/watch?v=PB7jc4UcWKs
in this video, I use only mouse and forward key (W), and the jump key 1 time to go back to mossy carpet to repeat the bug once again.
Minecraft 1 20 Pre release 2 - Vanilla server (multiplayer)Â
Use only mouse and forward key (W), while walking in water with slab on lower half, and a bloc in the way = auto jumping.
https://www.youtube.com/watch?v=w7Muz_TWgÂ
Another example of the water-edge auto-jumping by walking between stream edges. Again, no Jump button was pressed this entire video, only WASD.