未命名¶
文档版本:1.21.0.24
Defines the area of the block that is selected by the player's cursor. If set to true, default values are used. If set to false, this block is not selectable by the player's cursor. If this component is omitted, default values are used.
架构¶
minecraft:selection_box:
{
array "origin" : opt
{
number "<any array element>" : opt
}
array "size" : opt
{
number "<any array element>" : opt
}
}
origin
:array- Minimal position of the bounds of the selection box. "origin" is specified as [x, y, z] and must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.
origin
<any array element>
:number
size
:array- Size of each side of the selection box. Size is specified as [x, y, z]. "origin" + "size" must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.
size
<any array element>
:number