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

Minecarts riding other entities affect their movement

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.7.2, Minecraft 1.7.10, Minecraft 14w31a, Minecraft 1.8-pre1, Minecraft 1.8, Minecraft 1.8.7, Minecraft 1.12, Minecraft 1.13.1, 1.15.2, 20w20b, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w08b, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 4, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w37a, 21w38a, 21w39a, 21w40a, 21w41a, 21w42a, 21w43a, 1.18 Pre-release 7, 1.19.3, 23w03a, 23w04a, 23w05a, 23w06a, 23w07a, 1.19.4 Pre-release 3, 1.19.4, 23w13a, 23w14a, 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20 Pre-release 4, 1.20.1, 23w31a, 23w32a, 23w33a, 23w35a, 1.20.2 Pre-release 1, 1.20.2 Pre-release 2, 1.20.2, 23w40a, 23w41a, 23w42a, 23w44a, 1.20.4, 24w03b, 24w04a, 24w05a, 24w11a, 24w12a, 1.20.6, 1.21, 1.21.3
    • Confirmed
    • Entities, Hitboxes

      If you spawn a minecart riding a wolf using

      /summon minecraft:wolf ~ ~1 ~ {Owner:"<Your name>",Passengers:[{id:"minecraft:minecart",Attributes:[{Name:generic.movementSpeed, Base:3.0f}]}]}

      and push the wolf, it will start slowly moving in one direction, even sitting. You can stop it by placing blocks in it's path, and it follows you with the personal "Chest", but once it stops, it keeps on slowing "Scooting" one direction.

      Also, if you modify the movementSpeed of the entity the minecart is riding, the minecart will control the movement of the entity until it runs into something, at which point the ridden entity's AI will take over. For example, run this command:

      /summon minecraft:wolf ~ ~1 ~ {Passengers:[{id:"minecraft:minecart",Attributes:[{Name:generic.movementSpeed, Base:3.0f}]}]}

      The wolf will slowly shuffle south until it hits a block, and then start running around at high speed.

      However, if you isolate the minecart from the bottom entity by stacking another riding entity between them, the minecart will no longer affect the movement of the bottom entity:

      /summon minecraft:wolf ~ ~1 ~ {Passengers:[{id:"chicken",Attributes:[{Name:generic.movementSpeed, Base:3.0f}],Passengers:[{id:"minecart"}]}]}

            Unassigned Unassigned
            redstonefreak589 redstonefreak589
            Votes:
            8 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              CHK: