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

Command block minecarts do not save execution cooldown to NBT

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • Minecraft 1.12.2, Minecraft 17w45b, 1.16.2, 1.16.4, 20w48a, 20w51a, 21w03a, 21w05b, 21w06a, 21w16a, 1.17.1
    • None
    • Confirmed
    • (Unassigned)

    Description

      The bug

      Command block minecarts do not execute every tick but instead every 4 ticks. However, their cooldown is not saved to NBT. This means when a world with a command block minecart which is supposed to execute the next tick is closed, it will execute after 4 ticks again after the world is reopened.

      How to reproduce

      1. Summon a command block minecart
        /summon command_block_minecart
        
      2. Inspect its NBT data
        /data get entity @e[type=command_block_minecart,limit=1,sort=nearest]
        

        There is no tag tracking the execution cooldown

      Attachments

        1. MC-121903.mp4
          4.66 MB
        2. MC-121903.png
          MC-121903.png
          751 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marcono1234 [Mod] Marcono1234
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: