The bug
Minecarts with command block don't output their default or customized name after re-log.
Reproduction steps
Rename a command block minecart item
/give @s command_block_minecart{display:{Name:"\"test\""}}Place it on a powered activator rail
Enter a command, e.g.
/say message✔ It prints "[test] message" in chat
Reopen the world
❌ It prints "[@] message" in chat
Code analysis
Code analysis by @unknown can be found in this comment.
Linked issues
is duplicated by 3
relates to 3
Attachments
Comments 26
Confirmed for 14w21b
Maybe relates somehow to: MC-56132
Cannot reproduce in 1.21.2 Pre-Release 3
Tested with experimental minecart improvements datapack enabled.
Confirmed.