跳转至

Inspect Bookshelf

文档版本:1.21.0.24

Allows the mob to inspect bookshelves.

架构

inspect_bookshelf:
{
  priority "priority"
  speed_multiplier "speed_multiplier"
  number "goal_radius" : opt
  integer "search_count" : opt
  integer "search_height" : 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_countinteger
The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick
search_heightinteger
The height that the mob will search for bookshelves.
search_rangeinteger
Distance in blocks the mob will look for books to inspect.