Slime Attack¶
文档版本:1.21.50.25
Can only be used by Slimes and Magma Cubes. Allows the mob to use a melee attack like the slime's.
架构¶
slime_attack:
{
  priority "priority"
  speed_multiplier "speed_multiplier"
  boolean "set_persistent" : opt
  number "x_max_rotation" : opt
  number "y_max_rotation" : opt
}
- priority:priority
- speed_multiplier:speed_multiplier
- set_persistent:boolean
- Allows the actor to be set to persist upon targeting a player.
- x_max_rotation:number
- Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target.
- y_max_rotation:number
- Maximum rotation (in degrees), on the Y-axis, this entity can rotate while trying to look at the target.