mojira.dev
MC-174495

Wolf and Cat with NoAI tag does not visually sit when right clicked

When a wolf or a cat with "NoAI" tag is right clicked by it's owner, it does not sit/stand for the client. Checking the data, the "Sitting" tag is changed, but the player needs to relog to see the changes. (Simply reloading chunks or going far away and returning does not work)

 

Steps to reproduce:

1. Run the following command:

/summon wolf ~ ~ ~ {NoAI:1b,OwnerUUID:"[your uuid here]"}

2. Check the Sitting tag with this command:

/data get entity @e[type=wolf,distance=..5,limit=1] Sitting

3. The tag should be 0b, now right click the wolf and run the command from step 2 again. The tag should now be 1b, but the wolf will be standing.

4. Close the world and log in again, the wolf will be sitting. Right clicking the wolf while it's sitting will create the same effect, but with sitting and standing swapped.

 

Attachments

Comments 11

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 1.16.5 and 21w08b.

Can confirm in 21w14a.

Can confirm in 21w16a.

1 more comments

Can confirm in 1.17.1.

Can confirm in 1.18.1.

Can confirm in 1.18.2 and 22w19a.

For the first reproduction step and for ease of convenience, instead of going through the trouble of finding your player UUID, you can simply execute the command provided below and replace "PLAYER_NAME" with your in-game name.

/summon minecraft:wolf ~ ~ ~ {NoAI:1b,Owner:"PLAYER_NAME"}

Can confirm in 1.19.

Can confirm in 1.19.2.

Fiopon

(Unassigned)

Confirmed

Platform

Low

Mob behaviour

NoAI, sitting, wolf

20w11a, 1.16.1, 20w51a, 21w03a, 1.16.5, ..., 1.19.3 Release Candidate 1, 1.19.3 Release Candidate 3, 1.19.3, 1.20.5, 1.21

Retrieved