Entity Documentation - minecraft:behavior.drink_milk

minecraft:behavior.drink_milk compels the mob to drink milk based on specified environment conditions.

Parameters

Name Default Value Type Description
cooldown_seconds 5.00 Decimal Time (in seconds) that the goal is on cooldown before it can be used again.
filters not set Minecraft Filter Conditions that need to be met for the behavior to start.
priority not set Integer The higher the priority, the sooner this behavior will be executed as a goal.

Example

"minecraft:behavior.drink_milk": {
    "cooldown_seconds": 5.00
}

Vanilla entities using drink_milk