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

Can't spawn minecarts with rotation via chat or function but with a command block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.14.4, 19w46a, 1.15 Pre-release 4, 20w45a, 21w03a, 1.16.5, 21w08b, 21w13a, 1.18.2, 1.19, 22w24a, 1.19.1 Release Candidate 2
    • None
    • Confirmed
    • Commands, Minecart
    • Low
    • Platform

      If I try to summon a minecart with rotation, it rotates back instantly if I execute the command in chat, in a function or using a sign with clickEvent. But if I summon it with a commandblock, it works perfectly...

      Example command to reproduce:

      summon minecraft:chest_minecart ~5 ~ ~ {NoGravity:1b,Invulnerable:1b,CustomDisplayTile:1b,DisplayOffset:16,Rotation:[180F,50F],OnGround:0b,DisplayState:{Name:"minecraft:cobblestone"}}
      
      Sign with clickEvent
      setblock ~ ~1 ~ oak_sign{Text1:"{\"text\":\"Click\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"summon minecraft:chest_minecart ~5 ~ ~ {NoGravity:1b,Invulnerable:1b,CustomDisplayTile:1b,DisplayOffset:16,Rotation:[180F,50F],OnGround:0b,DisplayState:{Name:\\\"minecraft:cobblestone\\\"}}\"}}"}
      

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

              Created:
              Updated:
              CHK: