The Bug:
Summoning a wolf with the Owner
value set to either the name or UUID of a non-existent player will cause the wolf to be spawned sitting. This does not change even if the Sitting
value is set to 0b.
The bug can also be reproduced by summoning a wolf with the Owner value set to the UUID of another mob in the same world. Fixed in 25w02a
Steps to Reproduce:
Summon a wolf with the following command:
/summon wolf ~ ~ ~ {Owner:"PLAYER_NAME",Sitting:0b}
✔ The wolf spawns standing up.
Summon a wolf with the following command:
/summon wolf ~ ~ ~ {Owner:"////",Sitting:0b}
❌ The wolf spawns sitting.
Linked issues
relates to 2
Comments 6
As a side note: The Owner
tag is deprecated and should not be used anymore.
Likely caused by the method net.minecraft.entity.ai.EntityAISit.shouldExecute()
but I can imagine this being WAI to avoid that your pets walk away when you leave a server.
Confirmed in snapshot as well
Command used: /summon minecraft:wolf ~ ~ ~ {Owner: "Iron golem", OwnerUUID: "077c3dd6-9950-4d4c-94b4-04467b5e8f1b"}
/summon minecraft:wolf ~ ~ ~ {Owner: "Iron golem", OwnerUUID: "077c3dd6-9950-4d4c-94b4-04467b5e8f1b", Sitting:0}
/summon minecraft:wolf ~ ~ ~ {Owner: "Iron golem", OwnerUUID: "077c3dd6-9950-4d4c-94b4-04467b5e8f1b", Sitting:0b}
/summon minecraft:wolf ~ ~ ~ {Owner: "Iron golem", OwnerUUID: "077c3dd6-9950-4d4c-94b4-04467b5e8f1b", Sitting:false}
/entitydata changes it to standing correctly
Might be related to MC-77841