To reproduce:
Step 1
In the spawn chunks run this command
/summon minecraft:armor_stand ~ ~ ~ {UUID:[I;2038625872,-790803325,-2057907387,1487988512]}
Step 2
Go to the nether and run these commands
/summon minecraft:area_effect_cloud ~ ~ ~ {Duration:10000,Owner:[I;2038625872,-790803325,-2057907387,1487988512]}
/execute as @e[type=area_effect_cloud,sort=nearest,limit=1] on origin run say hi
Expected: "[Armor Stand] hi"
Actual: nothing
If you do this in the same dimensions it works
Related bug report: https://bugs.mojang.com/browse/MC-184268
Related issues
is duplicated by
Comments


This probably effects most if not all of the `<relation>` types, `on origin` is just the one I've tested

A great fix for this that would avoid creating a global entity list would be to add the same logic from SingleEntityArgument to the getOwner methods (that searches all entity lists for a UUID if that is inputted).
Also applies to
execute on owner
.Tame a wolf (or cat, etc.).
execute as <wolf> on owner run say <message>
→ ✔ The message should appear in chat.
Change dimension and run the above command again.
→ ❌ No message appears.
(Optional: Run the above command without
on owner
the verify that the wolf still exists.)This also seems to make it so that pet death messages do not show up for their owners if their owners are in a different dimension from them. (Not sure if a bug report exists for this.)
Also likely caused by this bug: Lingering Potions thrown through a portal do not properly assign kill credit (nor do they copy their
Owner
/origin
to the created Area Effect Cloud) unless the thrower also travels through the portal before they hit the ground on the other side.Place a named mob* next to a Nether Portal in the Overworld. (*Or another player; anything that'll produce a death message somewhere.) Try to keep it in place to make the next steps easier.
Go through the portal.
From the Nether, throw a Lingering Potion of Harming (or Healing, if the mob is undead) back through the portal to kill the mob in the Overworld. Throw several if you need to.
Check the output log (or
latest.log
).→ ❌
<victim> was killed by Area Effect Cloud using magic
Redo the above, but after throwing the potion(s) through the portal, quickly go through the portal yourself before they hit the ground. (You'll most likely need to be in Creative Mode for this.)
Check the log again.
→ ✔
<victim> was killed by <your username> using magic
(if you went through the portal fast enough)