mojira.dev
MC-206505

Wolves can have the sitting model applied while floating in water

Tamed wolves/dogs can appear to be sitting while they are floating on top of water. This is likely due to the fact that when the game loads the world, it checks if the 'sitting' entity data is set to 'true' and regardless of the dogs submergion state, it simply applies the sitting model.

Steps to Reproduce:

  1. Spawn a wolf

  2. Tame it

  3. Make it sit

  4. Push it into water
    ✔ The wolf will have 'sitting:1b' applied, but float standing upright

  5. Leave the world

  6. Rejoin the same world
    ❌ The wolf will have 'sitting:1b' applied, but float with the sitting model applied

Expected Results:

The wolf would not be sitting down while floating in the water, as any other time they are submerged in water the properly appear standing upright

Screenshots/Videos:

[media]

Notes:

  1. Related to other dog sitting issues:
    MC-174495 MC-267827 MC-211011

Linked issues

Attachments

Comments 7

Avoma

Can confirm in 20w46a.

Avoma

Can confirm in 20w51a.

Neonturtle_2

I did notice that if you push a dog in water while it is sitting, it will swim back to its spot as if it wasn't sitting, and when it reaches land, it will sit normally.

Avoma

Can confirm in 21w03a.

[Mod] Jingy

Affects 23w42a

[Mod] Jingy

Requesting ownership of this issue.

[Mod] Jingy

Present in 1.20.5. May be more relevant now with the recent updates and changes to wolves.

[media]

Neonturtle_2

[Mod] Jingy

(Unassigned)

Confirmed

Gameplay

Low

Mob behaviour

Dog, Sit, Water, Wolf, model

20w46a, 20w49a, 20w51a, 21w03a, 1.16.5, ..., 1.20.4 Release Candidate 1, 1.20.4, 23w51b, 1.20.5, 1.21

Retrieved