Item Documentation - minecraft:block_placer
minecraft:block_placer
sets the item as a Planter item component for blocks. Items with this component will place a block when used.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
block | not set | JSON Object | Defines the block that will be placed. |
use_on | not set | Array | List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed. See Custom Item Use Priority for more information on use behavior. |
Example
"minecraft:block_placer":{
"block": "seeds",
"use_on" : ["dirt",
"grass"]
}
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈