minecraft:behavior.random_sitting

Allows the mob to randomly sit for a duration.

Properties

PropertyTypeDefaultWhat it does
start_chanceDecimal0.1This is the chance that the mob will start this goal, from 0 to 1
stop_chanceDecimal0.3This is the chance that the mob will stop this goal, from 0 to 1
cooldownDecimal100Time in seconds the mob has to wait before using the goal again
min_sit_timeDecimal10The minimum amount of time in seconds before the mob will stand back up
priorityIntegermin 00
control_flagsList of text[]

Example from the game files

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

{
  "minecraft:behavior.random_sitting": {
    "priority": 5,
    "start_chance": 0.01,
    "stop_chance": 0.3,
    "cooldown": 30,
    "min_sit_time": 10
  }
}

Used by 1

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

Related components