接口 DecoratedPotInventory

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

public interface DecoratedPotInventory extends Inventory
Interface to the inventory of a DecoratedPot.
  • 方法详细资料

    • setItem

      void setItem(@Nullable @Nullable ItemStack item)
      Set the item stack in the decorated pot.
      参数:
      item - the new item stack
    • getItem

      Get the item stack in the decorated pot.
      返回:
      the current item stack
    • getHolder

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

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

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