mojira.dev
MC-254899

Sitting/standing a tamed cat does not trigger minecraft:player_interacted_with_entity

Title says it all, right clicking a tamed cat to make it sit and stand does not trigger minecraft:player_interacted_with_entity. Feeding it fish will, however.

Linked issues

Attachments

Comments 5

Can confirm in 1.19.3 and 23w03a

Still an issue in 1.20.4

Seems to be resolved in 1.21. Not sure when this happened, but sitting/standing now runs the trigger properly. I don't think whoever marked 1.21 as an affected version checked properly.

Can confirm that the bug seems to be fixed now. For reference, using this advancement:

{
  "criteria": {
    "do_the_cat": {
      "trigger": "player_interacted_with_entity",
      "conditions": {
        "entity": {
          "type": "cat"
        }
      }
    }
  },
  "rewards": {
    "function": "test:do_the_cat"
  }
}

gives, when tested in 1.21.1, the following result:

[media]

BlockerLocker

(Unassigned)

Community Consensus

Platform

Low

Statistics

1.19.1, 1.19.3, 23w03a, 1.19.4 Pre-release 3, 1.21

1.21.1

Retrieved