跳转至

Drink Milk

文档版本:1.21.0.24

Allows the mob to drink milk based on specified environment conditions.

架构

drink_milk:
{
  priority "priority"
  number "cooldown_seconds" : opt
  filters "filters"
}
prioritypriority
priority:
integer
cooldown_secondsnumber
Time (in seconds) that the goal is on cooldown before it can be used again.
filtersfilters
一个过滤器组。Conditions that need to be met for the behavior to start.