Entity Placer¶
文档版本:1.21.50.25
Entity placer item component. You can specifiy allowed blocks that the item is restricted to.
架构¶
minecraft:entity_placer:
{
string "entity" : opt
array "dispense_on" : opt
{
"<any array element>" : opt
}
array "use_on" : opt
{
"<any array element>" : opt
}
}
entity:string- The entity to be placed in the world.
dispense_on:array- List of block descriptors that contain blocks that this item can be dispensed on. If left empty, all blocks will be allowed.
dispense_on<any array element>- Block that item can be dispensed on.
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>- Block that item can be used on