跳转至

minecraft:item_storage

文档版本:1.21.0.24

The Storage Item Component is used for storing Items within an Item's User Data

架构

minecraft:item_storage:
{
  integer "capacity" : opt
}
capacityinteger
The max capacity of the item. Default is 64