onInteract not working

I want to make the player sit on a mob using the onInteract trigger, but for some reason it doesn't work.

  • mountmodel{mid=bench;drive=false;pbone=person} @trigger ~onInteract

This is very strange, because when using another trigger, for example, ~onDamaged, this works without any problems:

  • mountmodel{mid=bench;drive=false;pbone=person} @trigger ~onDamaged

Even the simplest command from the documentation does not work with onInteract:

  • message{m=INTERACTED} @trigger ~onInteract

Tell me, please, what could be the reason for this