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

Boats and minecarts not picking up armor stands


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Minecraft 16w04a
    • Minecraft 15w42a, Minecraft 15w43c, Minecraft 15w44a, Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w47c, Minecraft 16w03a, Minecraft 16w04a, Minecraft 16w05a, Minecraft 16w07a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 2, Minecraft 1.9.4, Minecraft 1.10.2, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w36a, Minecraft 16w39c, Minecraft 1.11, Minecraft 1.11.2, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w05a, Minecraft 18w22c, Minecraft 1.13.1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03a, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 3, 1.14.4, 19w42a, 1.15, 1.15.2, 20w07a, 20w21a, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w17a, 1.17, 1.17.1, 21w39a, 1.18.1, 22w06a, 1.18.2, 22w14a, 1.19.2, 22w45a, 1.19.3, 1.19.4, 1.20 Release Candidate 1, 1.20, 1.20.1, 23w51b
    • Confirmed
    • Entities, Minecart
    • Normal
    • Platform

      The bug

      Boats and minecarts are unable to pick up armor stands even if (in case of the minecart) it has a high enough speed to pick up entities. Note that minecarts picking up armor stands is explicitly intended: https://twitter.com/seargedp/status/497030467359477760

      Code analysis

      The following is based on a decompiled version of Minecraft 1.9 using MCP 9.24 beta.

      The reason for this is that the method net.minecraft.util.EntitySelectors.func_188442_a(Entity) is used to get potential passengers. This method is also used for entity collision (pushing other mobs) and calls the method net.minecraft.entity.Entity.canBePushed() to test if the entity can be pushed at all. For the ArmorStand this method returns false.
      Additionally the currently used method would respect the team option collisionRule which does not make very much sense for boats in my opinion. Would only make sense for pushing away the mob if it cannot become a passenger.

        1. MC-90923.mp4
          4.67 MB
        2. MC-90923.png
          753 kB

            Unassigned Unassigned
            markderickson [Mod] markderickson
            54 Vote for this issue
            28 Start watching this issue