minecraft:behavior.lay_down
Allows mobs to lay down at times
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
interval | Integer | 120 | A random value to determine at what intervals something can occur. This has a 1/interval chance to choose this goal |
random_stop_interval | Integer | 120 | A random value in which the goal can use to pull out of the behavior. This is a 1/interval chance to stop laying down |
priority | Integermin 0 | 0 | |
control_flags | List of text | [] |
Example from the game files
This is how vanilla Panda uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:behavior.lay_down": {
"priority": 5,
"interval": 400,
"random_stop_interval": 2000
}
}Used by 1
Vanilla entities with minecraft:behavior.lay_down in their definition:
Related components
behavior.random_strollbehavior.random_look_aroundbehavior.equip_itembehavior.move_towards_home_restrictionbehavior.timer_flag_1behavior.look_at_entitybehavior.move_towards_dwelling_restrictionbehavior.drink_potionbehavior.jump_to_blockbehavior.squid_divebehavior.squid_idlebehavior.squid_move_away_from_groundbehavior.squid_out_of_waterbehavior.croakbehavior.dragondeathbehavior.drink_milkbehavior.emergebehavior.investigate_suspicious_locationbehavior.napbehavior.rise_to_liquid_levelbehavior.rollbehavior.silverfish_merge_with_stonebehavior.silverfish_wake_up_friendsbehavior.sleep