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

Delay before being able to select an entity in newly loaded chunks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.17
    • Java 1.17, tested in 1.16.5 on same hardware and works fine. 20GB RAM
    • Confirmed
    • Commands

      In 1.16, it was possible to synchronously select an entity in the same tick that the chunk it's in is loaded. In 1.17, this is no longer the case.

      This can be reproduced with the following commands in a function or using chain command blocks:

      execute positioned 1000000 0 0 run forceload add ~ ~
      summon minecraft:armor_stand 1000000 0 0 {Tags:['test']}
      say @e[tag=test]
      

      The final command no longer will select the entity in 1.17. Scheduling the final command requires a delay of a few ticks (usually between 2-10) or else it will not select the armor stand.

            Unassigned Unassigned
            mrluigiconnor Connor C
            Votes:
            47 Vote for this issue
            Watchers:
            27 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: