When running a function via the tick.json
tag, the execute position doesn't change from dimension when using execute at
.
How to reproduce:
run these commands in chat to teleport to the end:
setblock ~ ~ ~ end_portal
and this one to get to a specific location:
tp @s -100 50 100
run these commands in a function which is run via
tick.json
execute at @a run setblock ~ ~ ~ dirt
move around and then remove the command
no dirt blocks appear at your location in the end, instead the dirt blocks appeared at your coordinates in the overworld
teleport back to the overworld
setblock ~ ~ ~ end_portal
run this command:
tp @s -100 50 100
and see the dirt blocks
Thank you for your report!
However, this issue is a Duplicate of MC-122893.
It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki