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

Squids randomly fly out of water

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • Minecraft 1.4.4
    • Minecraft 1.4.2, Minecraft 1.4.7, Minecraft 1.7.4, Minecraft 1.7.5, Minecraft 1.8.9, Minecraft 16w06a, Minecraft 1.10.2, Minecraft 1.11.2
    • OS: Windows 7, Environment: Java 6 and 7
    • Community Consensus

      Occasionally, squids will start floating above water, even though they should remain inside of it. While flying squid are a real thing, this does not seem to be intended behavior within Minecraft (given that it is highly inconsistent).

      What I expected to happen was...

      Squids are swimming happily in the sea

      What actually happened was...

      Some squids are flying, out of the ocean, up into the air.

      Steps to Reproduce

      This issue cannot be consistently reproduced, and seems to be highly lag-dependent. The attached setup can sometimes generate squids with this behavior, but it is rare.

      Screenshots

      Code analysis

      Based on 1.11 decompiled using MCP 9.35 rc1

      The problem is that the motion handling part of the code is only done server-side. This includes setting the horizontal motion (X and Z) to 0 and reducing the vertical motion (Y) when the squid is not in water.

        1. setup.png
          setup.png
          3.53 MB
        2. Flying_Squid.png
          Flying_Squid.png
          1.21 MB
        3. Flying_Squid_Party.png
          Flying_Squid_Party.png
          2.13 MB
        4. 2020-09-28_23.55.06.png
          2020-09-28_23.55.06.png
          1.39 MB

            Unassigned Unassigned
            sircomputer Oliver Newby
            Votes:
            5 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: