跳转至

Collision Box

文档版本:1.21.0.24

Sets the width and height of the Entity's collision box.

架构

collision_box:
{
  number "height" : opt
  number "width" : opt
}
heightnumber
Height of the collision box in blocks. A negative value will be assumed to be 0.
widthnumber
Width of the collision box in blocks. A negative value will be assumed to be 0.