minecraft:behavior.stay_while_sitting

Allows the mob to stay put while it is in a sitting state instead of doing something else.

Properties

PropertyTypeDefaultWhat it does
priorityIntegermin 00
control_flagsList of text[]

Example from the game files

This is how vanilla Cat uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:behavior.stay_while_sitting": {
    "priority": 3
  }
}

Used by 4

Vanilla entities with minecraft:behavior.stay_while_sitting in their definition:

Related components