跳转至

Hide

文档版本:1.21.0.24

Allows a mob with the hide component to attempt to move to - and hide at - an owned or nearby POI.

架构

hide:
{
  priority "priority"
  speed_multiplier "speed_multiplier"
  number "duration" : opt
  string "poi_type" : opt
  number "timeout_cooldown" : opt
}
prioritypriority
priority:
integer
speed_multiplierspeed_multiplier
speed_multiplier:
number
durationnumber
Amount of time in seconds that the mob reacts.
poi_typestring
Defines what POI type to hide at.
timeout_cooldownnumber
The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition.