Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-44560

When pushed to water edge, entities jump by themselves



    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 14w02c, Minecraft 1.7.5, Minecraft 1.7.9, Minecraft 14w20b, Minecraft 14w21a, Minecraft 14w21b, Minecraft 14w29b, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.1, Minecraft 15w42a, Minecraft 1.8.9, Minecraft 15w51b, Minecraft 16w03a, Minecraft 16w06a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 1, Minecraft 16w15a, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.4, Minecraft 1.10.2, Minecraft 16w43a, Minecraft 1.12, Minecraft 17w31a, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w48a, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w03b, Minecraft 18w06a, Minecraft 18w09a, Minecraft 18w10d, Minecraft 18w14b, Minecraft 1.13-pre3, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 1.13.1, 1.14.4, 1.15 Pre-release 6, 1.16.1, 1.16.2, 1.16.4, 20w48a, 20w51a, 21w03a, 21w05b, 21w07a, 1.17
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
    • Category:
      Entities, Player
    • Mojang Priority:


      I started a new game in Survival on the latest snapshot (14w02c). Went down some cave to see the new stone types.
      When I was trying to get back, I had to swim up a water stream. When I reached an upper level and walked to the edge of where the water is spilled, my character jumped up a block as soon as I reached the edge of the water.

      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.


        1. 2016-01-24_19.12.07.png
          27 kB
        2. 2018-07-28_18.41.06.png
          521 kB
        3. 2018-07-28_18.44.56.png
          326 kB
        4. bug description.png
          bug description.png
          640 kB
        5. mc-water-jump-1.avi
          6.05 MB
        6. mc-water-jump-2.avi
          4.79 MB
        7. Minecraft_ 1.16.1 - Multiplayer (LAN) 2020-07-28 12-50-41.mp4
          4.86 MB

          Issue Links



              Unassigned Unassigned
              nomaed Boris Aranovich
              41 Vote for this issue
              23 Start watching this issue