跳转至

Block Placer

文档版本:1.21.0.24

Planter item component. planter items are items that can be planted.

架构

minecraft:block_placer:
{
  string "block" : opt
  array "use_on" : opt
  {
    object "<any array element>" : opt
    {
      0 "tags"
    }
  }
}
blockstring
Set the placement block name for the planter item.
use_onarray
List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.
use_on
<any array element>object
A block descriptor that allows to be placed.
<any array element>
tags0
Tags.
0:
string