mojira.dev
MC-86082

Cannot summon an entity with a custom UUID

Hi,

I wanted to summon an entity with a custom UUID to combine with the "ownerName" in some projectiles.

But it seems that it's not possible anymore:

/scoreboard objectives add test dummy
    /scoreboard objectives setdisplay sidebar test
    /summon ArmorStand 275 56 920 {UUID:"8ed0f252-5fea-41e6-9189-75915fb00b9c"}
    /scoreboard players set @e[type=ArmorStand] test 1

And each time I have a different UUID displayed but never the one I specified.

  • This UUID is one that the ArmorStand once took

  • There's only me and this ArmorStand in this world (no other entities) and my UUID is not that one

  • Even with "2-2-2-2-2" as UUID the problem is the same. It worked back in some previous snapshot (in summon and in ownerName) but not anymore.

Thanks

Korko

Linked issues

Comments 4

It was necessary for several bug fixes to remove access to the entity UUID through NBT in commands. Please use something like {Tags:["REFERENCETAG"]} instead.

Ok but Tags doesn't allow to use the ownerName as you can't summon a snowball with {ownerName:@e[tag=launcher]}...

Ok, disregard my first comment. I checked the code and for /summon it's still possible to specify a custom UUID, but you NEED to use the UUIDMost and UUIDLeast syntax, becasue the NBT tag that was simply called UUID is not parsed anymore.

Hooray, UUIDMost:6L and UUIDLeast:6L really summon an entity with UUID:0-0-6-0-6

Thanks Searge

Korko

michael

Unconfirmed

Minecraft 15w33b

Minecraft 15w33c

Retrieved