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

Squids and glow squids do not collide properly with solid blocks

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • Minecraft 14w25b, Minecraft 14w26b, Minecraft 14w28a, Minecraft 14w29b, Minecraft 14w30c, Minecraft 14w31a, Minecraft 1.8-pre2, Minecraft 15w37a, Minecraft 16w04a, Minecraft 1.10.2, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w18a, Minecraft 1.13.1, 1.14.4, 1.15.2, 20w21a, 1.16 Pre-release 5, 1.16.1, 1.16.2 Pre-release 1, 1.16.4, 20w46a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w11a, 21w13a, 21w14a, 21w15a, 21w17a, 21w18a, 1.17, 1.17.1, 21w37a, 1.18 Pre-release 1, 22w05a, 22w14a
    • None
    • Confirmed
    • Mob behaviour
    • Important

    Description

      The bug

      Squids choose the direction they are simming in randomly. This means that they sometimes also try to swim "through" a wall. Whereas other mobs trying to walk against a solid wall just collide with it, squids sometimes glitch into it (maybe client-side only).

      The reason

      The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.

      The reason might be that the class EntitySquid is overriding the method net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(float, float).

      Attachments

        1. 14w25b.png
          14w25b.png
          686 kB
        2. 14w28a.png
          14w28a.png
          483 kB
        3. 2020-10-16_23.42.23.png
          2020-10-16_23.42.23.png
          375 kB
        4. 2020-11-03_22.02.39.png
          2020-11-03_22.02.39.png
          452 kB
        5. Affects_1_16_4.png
          Affects_1_16_4.png
          2.13 MB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marcono1234 [Mod] Marcono1234
              Votes:
              24 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: