Beg¶
文档版本:1.21.50.25
Allows this mob to look at and follow the player that holds food they like.
架构¶
beg:
{
priority "priority"
array "items" : opt
{
descriptor "<any array element>"
}
number "look_distance" : opt
range_number_type "look_time"
}
priority:priority
items:array- List of items that this mob likes.
items<any array element>:descriptor- List of items that this mob likes.
item:identifier
item:object- An object that describes an item.
itemtags:0- [UNDOCUMENTED] A Molang expression ran against item or block to match.
item_tag:string- [UNDOCUMENTED] A tag to lookup item or block by.
look_distance:number- Distance in blocks the mob will beg from.
look_time:range_number_type- The range of time in seconds this mob will stare at the player holding a food they like, begging for it.
0..0:number- The first value of the range.
1..1:number- The second value of the range.
range_min:number- The minimum value of the range.
range_max:number- The maximum value of the range.