you can't use the on owner sub command on an item even after setting it via /data modify entity ... set from @s UUID just as you would with any other pet
Linked issues
relates to 2
Attachments
Comments 3
To conduct this test, utilize my datapack and execute the command
/execute as @e at @s on owner run function snapshots:raycast_particles/1
in a repeating command block. This will generate a line of particles between all entities and their owners.
By running
/data modify entity @e[type=item,sort=nearest,limit=1] Owner set from entity @s UUID
to designate yourself as the owner of an item, the commands won't exhibit a line of particles indicating you as the owner. However, it functions properly for other entities like wolves.
/execute on origin
enables you to identify the thrower of an item, whereas the owner cannot be determined using
/execute on
.
If you're curious about the Owner property of an item, it determines that only the designated owner can pick it up; other entities are unable to do so.
Relates to MC-259203 and MC-259247.
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Please provide the exact commands used.