Skip to content

Latest commit

 

History

History
43 lines (43 loc) · 1.83 KB

cn.nukkit.blockentity.BlockEntityContainer.md

File metadata and controls

43 lines (43 loc) · 1.83 KB
    • 成员函数一览

      All Methods Instance Methods Abstract Methods 
      修饰符和类 成员函数描述
      Item getItem(int index)
      返回一个存储在容器里的物品的Item对象。
      Returns an item that stores in this container, as an Item object.
      int getSize()
      返回这个容器最多能包含的物品数量。
      Returns the max number of items that this container can contain.
      void setItem(int index, Item item)
      把一个物品存储进容器。
      Sets or stores this item into this container.