Pet Sleep With Owner¶
文档版本:1.21.50.25
Allows the mob to be tempted by food they like.
架构¶
pet_sleep_with_owner:
{
priority "priority"
speed_multiplier "speed_multiplier"
number "goal_radius" : opt
integer "search_height" : opt
integer "search_radius" : opt
integer "search_range" : opt
}
priority
:priority
speed_multiplier
:speed_multiplier
goal_radius
:number- Distance in blocks within the mob considers it has reached the goal. This is the "wiggle room" to stop the AI from bouncing back and forth trying to reach a specific spot
search_height
:integer- Height in blocks from the owner the pet can be to sleep with owner.
search_radius
:integer- The radius that the mob will search for an owner to curl up with.
search_range
:integer- The range that the mob will search for an owner to curl up with.