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

Boats and minecarts not picking up armor stands

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: Minecraft 16w04a
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dodocomododo dodo comododo
              • Votes:
                22 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: