接口 DecoratedPotInventory

所有超级接口:
Inventory, Iterable<ItemStack>

public interface DecoratedPotInventory extends Inventory
装饰陶罐物品栏的接口。
  • 方法详细资料

    • setItem

      void setItem(@Nullable @Nullable ItemStack item)
      设置装饰陶罐中的物品堆。

      原文:Set the item stack in the decorated pot.

      参数:
      item - 新的物品堆
    • getItem

      获取装饰陶罐中的物品堆。

      原文:Get the item stack in the decorated pot.

      返回:
      当前物品堆
    • getHolder

      从接口复制的说明: Inventory
      获得此物品栏的持有者(方块或实体).

      原文:Gets the block or entity belonging to the open inventory

      指定者:
      getHolder 在接口中 Inventory
      返回:
      物品栏的持有者;null表示没有归属者