mojira.dev
MC-312207

Unloaded entities are sometimes still accessible with `/execute on origin`

Expected behaviour

When an entity unloads, it should stop being accessible by any means (@e calls, or “execute on origin”).

Observed behaviour

Sometimes (inconsistent), the entity can still be targeted for a minute or so, even though it’s fully unloaded and not accessible with regular @e calls.

How to reproduce

I haven’t found a consistent setup for it (there might not be one), but this is how I found it:

  1. /summon item_display ~ ~ ~ {Passengers:[{id:"minecraft:armor_stand",UUID:[I;1,2,3,4]}]}

  2. /summon area_effect_cloud ~ ~ ~ {Owner:[I;1,2,3,4]}

  3. Now teleport the item display far away so it unloads.

When performing these steps, the item display and armor stand won’t show up in @e calls, but both are sometimes still accessible with “execute as @n[type=area_effect_cloud] on origin” and “execute as @n[type=area_effect_cloud] on origin on vehicle” respectively.

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media]

Can confirm this issue on 26.4 Snapshot 2.

I got this to reproduce on my second attempt. After teleporting the item display far enough away for it to unload from my chunks, neither the item display nor the armor stand could be accessed using normal @e selectors.

However, both execute ... on origin and execute ... on origin on vehicle still worked and were able to access the unloaded entities.

It didn't reproduce on my first attempt, so it does seem to be inconsistent like described in the report.

SilicatYT

(Unassigned)

Community Consensus

Platform

Normal

26.4 Snapshot 2

Retrieved