Block Placer¶
文档版本:1.21.50.25
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"
}
}
boolean "replace_block_item" : opt
}
block
:string- Set the placement block name for the planter item.
use_on
:array- 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>
replace_block_item
:boolean- Allows you to specify that this item should replace the default item created for the data-driven block it places.