跳转至

Pet Sleep With Owner

文档版本:1.21.0.24

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
}
prioritypriority
priority:
integer
speed_multiplierspeed_multiplier
speed_multiplier:
number
goal_radiusnumber
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_heightinteger
Height in blocks from the owner the pet can be to sleep with owner.
search_radiusinteger
The radius that the mob will search for an owner to curl up with.
search_rangeinteger
The range that the mob will search for an owner to curl up with.