Equipment¶
文档版本:1.21.50.25
Sets the equipment table to use for the entity.
架构¶
equipment:
{
array "slot_drop_chance" : opt
{
object "<any array element>" : opt
{
number "drop_chance" : opt
string "slot" : opt
}
}
identifier "table"
}
slot_drop_chance
:array- A list of slots with the chance to drop an equipped item from that slot.
slot_drop_chance
<any array element>
:object- A slots with the chance to drop an equipped item from that slot.
<any array element>
drop_chance
:number- The chance that the item in this slot will drop.
slot
:string- The slot in which the item will drop from.
table
:identifier- The file path to the equipment table, relative to the behavior pack's root.