Mojira Archive
MC-272419

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

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

Unresolved

Smajlo Slovakian

2024-05-24, 12:05 PM

2024-07-18, 07:11 AM

1

0

Community Consensus

Low

Platform

Commands

1.20.6

-