跳转至

Entity Placer

文档版本:1.21.0.24

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
  }
}
entitystring
The entity to be placed in the world.
dispense_onarray
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_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>
Block that item can be used on