跳转至

Rise To Liquid Level

文档版本:1.21.0.24

Allows the mob to stay at a certain level when in liquid.

架构

rise_to_liquid_level:
{
  priority "priority"
  number "liquid_y_offset" : opt
  number "rise_delta" : opt
  number "sink_delta" : opt
}
prioritypriority
priority:
integer
liquid_y_offsetnumber
Vertical offset from the liquid.
rise_deltanumber
Displacement for how much the entity will move up in the vertical axis.
sink_deltanumber
Displacement for how much the entity will move down in the vertical axis.