mojira.dev
MC-142327

OwnerUUID nbt tag for pets cannot be emptied

The OwnerUUID tag for pets is a bit bugged in that you can't properly clear it with commands... Attempting to change it to anything other than another proper UUID (or absolutely nothing, e.g. {OwnerUUID:""}) causes the pet to become feral as expected, but the tag refuses to actually update (as well as still showing death messages & being passive to the previous owner). And trying to set it back to the owner causes the command to fail due to it "already having the value". For the record, /data remove doesn't do anything at all to OwnerUUID either.

I'd have thought setting it to be completely blank would work at least, but nope, turns out it unexpectedly doesn't change anything for some reason, despite being what should be one of the most logical way to go about removing ownership. Example:

 

/data merge entity @e[type=wolf,sort=nearest,limit=1] {OwnerUUID:""}

As mentioned, adding anything in the quotes that doesn't conform to its usual UUID format causes it to become neutral to everyone other than the last owner.

 

Comments 3

Editing NBT during the lifetime of an entity is not supported, so any non-crash issues related to it will not be fixed.

I guess this should be marked as WAI rather than Invalid then? Did a search for what you said and found a comment by Searge in MC-66943.

Gotta admit I'm just as confused as the guy replying to Searge there, feels rather weird that bugs cropping up from commands dedicated to editing entity data are considered WAI. Have there been any recent statements from the devs still saying so? Because that thread is nearly 4.5 years old now, and I can't find anything more recent. I don't think it's appropriate for such an old comment to still be thrown around (especially since 1.13 was a big update to relevant commands), unless their stance even now is confirmed to be the same.

Welp if FVbico marks it as invalid there is not much you can do is there. Not even the voice of reason can stop him.

Remin

(Unassigned)

Unconfirmed

Minecraft 1.13.2, Minecraft 19w02a

Retrieved