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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.12.2, Minecraft 17w45b, 1.16.2, 1.16.4, 20w48a, 20w51a, 21w03a, 21w05b, 21w06a, 21w16a, 1.17.1, 1.18.2, 1.20.6, 1.21 Pre-Release 1
    • Confirmed
    • (Unassigned)

      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

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

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: