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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 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, 23w14a
    • Confirmed
    • Mob behaviour
    • Important
    • Gameplay

      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).

        1. 14w25b.png
          686 kB
          [Mod] Marcono1234
        2. 14w28a.png
          483 kB
          [Mod] Marcono1234
        3. 2020-10-16_23.42.23.png
          375 kB
          Spacebar
        4. 2020-11-03_22.02.39.png
          452 kB
          Mateus Pereira Milbradt
        5. Affects_1_16_4.png
          2.13 MB
          Mateus Pereira Milbradt

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            29 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              CHK: