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

Command block minecarts lose their name after re-log

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • Minecraft 13w39a, Minecraft 13w39b, Minecraft 1.7.4, Minecraft 14w05b, Minecraft 14w06b, Minecraft 14w07a, Minecraft 14w08a, Minecraft 1.7.5, Minecraft 14w20b, Minecraft 14w21a, Minecraft 14w21b, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.9 Pre-Release 2, Minecraft 16w42a, Minecraft 1.11.2, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w02a, Minecraft 18w22c, Minecraft 1.13-pre6, Minecraft 1.13, Minecraft 18w31a, Minecraft 1.13.1, 1.14.4, 1.15 Pre-release 1, 20w21a, 1.16.1, 20w29a, 1.16.2 Pre-release 3, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4, 20w46a, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w18a, 1.17, 1.17.1, 21w40a, 1.18.1
    • None
    • Confirmed
    • Entities, Minecart
    • Low

    Description

      The bug

      Minecarts with command block don't output their default or customized name after re-log.

      Reproduction steps

      1. Rename a command block minecart item
        /give @s command_block_minecart{display:{Name:"\"test\""}}
        
      2. Place it on a powered activator rail
      3. Enter a command, e.g.
        /say message
        

        It prints "[test] message" in chat

      4. Reopen the world
        It prints "[@] message" in chat

      Code analysis

      Code analysis by marcono1234 can be found in this comment.

      Attachments

        1. 2018-07-07_19.10.00.png
          2018-07-07_19.10.00.png
          445 kB
        2. MC-32701.mp4
          5.16 MB
        3. MC-32701.png
          MC-32701.png
          1001 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              karstvgl karstvgl
              Votes:
              18 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: