Mojira Archive
MC-165488

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

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\\\"}}\"}}"}

Unresolved

rafaelurben

2019-11-12, 07:33 PM

2023-09-06, 06:38 PM

10

8

Confirmed

Low

Platform

Commands, Minecart

1.14.4 - 1.19.1 Release Candidate 21.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

-