minecraft:entity_placer
The entity_placer item component specifies the blocks that the item can be placed on.
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
entity | Text | — | The entity to be placed in the world. |
use_on | List of object or text | [] | List of block descriptors of the blocks that this item can be used on. If left empty, all blocks will be allowed. |
dispense_on | List of object or text | [] | List of block descriptors of the blocks that this item can be dispensed on. If left empty, all blocks will be allowed. |
Used by
No vanilla item file in the official samples uses this component. It is still part of the schema, so add-ons can use it.