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

Command block minecarts lose their name after re-log

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 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, 1.18.2, 22w18a, 1.19, 22w24a, 23w41a, 1.20.3 Release Candidate 1, 1.20.4
    • Confirmed
    • Entities, Minecart
    • Low
    • Platform

      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.

        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

            Unassigned Unassigned
            karstvgl karstvgl
            Votes:
            19 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              CHK: