mojira.dev
MC-118053

Wolves with the Owner of a non-existent player are spawned sitting

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:

  1. Summon a wolf with the following command:

    /summon wolf ~ ~ ~ {Owner:"PLAYER_NAME",Sitting:0b}

    ✔   The wolf spawns standing up.

  2. Summon a wolf with the following command:

    /summon wolf ~ ~ ~ {Owner:"////",Sitting:0b}

    ❌ The wolf spawns sitting.

Linked issues

Comments 6

Uriel Salischiker

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

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.

Also seems to (sometimes?) cause dogs to sit when changing dimensions.

Confirmed for 1.13.1.

Can confirm 23w43b. I would like to request ownership of this issue to maintain it.

It appears again in 25w02a!

Ryan Heywood

hentor5

(Unassigned)

Confirmed

Commands, Mob behaviour

OwnerUUID, wolf

Minecraft 1.11.2, Minecraft 1.12 Pre-Release 6, Minecraft 1.12.2, Minecraft 18w05a, Minecraft 1.13.1, ..., 25w02a, 1.21.5, 1.21.6, 1.21.7, 1.21.8

Retrieved