跳转至

Eat Carried Item

文档版本:1.21.0.24

If the mob is carrying a food item, the mob will eat it and the effects will be applied to the mob.

架构

eat_carried_item:
{
  priority "priority"
  number "delay_before_eating" : opt
}
prioritypriority
priority:
integer
delay_before_eatingnumber
Time in seconds the mob should wait before eating the item.