跳转至

Slime Attack

文档版本:1.21.0.24

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
}
prioritypriority
priority:
integer
speed_multiplierspeed_multiplier
speed_multiplier:
number
set_persistentboolean
Allows the actor to be set to persist upon targeting a player.
x_max_rotationnumber
Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target.
y_max_rotationnumber
Maximum rotation (in degrees), on the Y-axis, this entity can rotate while trying to look at the target.