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

Modifying entity data after teleporting it to another dimension in the same tick causes changes to not save into the next tick

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.6
    • None
    • Community Consensus
    • Commands
    • Low
    • Platform

      steps to reproduce:

      • summon marker with some custom data
      • teleport the marker into another dimension
      • change the custom data of the marker
      • proceed to another tick
      • print the marker data

      i've made the reproduction easier by making a datapack
      steps to reproduce with my datapack:

      • go into overworld
      • run /function test:markertest
      • click on "Teleport to the nether" text in chat and press enter
      • click on "Print marker data" text in chat and press enter

      what happens:

      • after the data is modified, it will stay modified only until the end of the tick... after the tick passes, it has previous data values

      what should happen:

      • the data saves properly

      notes:

      • this also happens when the other dimension's chunks are forceloaded

        1. chat after reproducing with the use of the test datapack.png
          80 kB
          Smajlo Slovakian
        2. image-2024-06-09-02-12-25-987.png
          1.43 MB
          BugTracker

            Unassigned Unassigned
            Smajlo Slovakian Smajlo Slovakian
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: