接口 SmithingInventory

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

public interface SmithingInventory extends Inventory
锻造台物品栏的接口。
  • 方法详细资料

    • getResult

      检查锻造台结果槽中的物品。

      原文:Check what item is in the result slot of this smithing table.

      返回:
      结果物品
    • setResult

      void setResult(@Nullable @Nullable ItemStack newResult)
      设置锻造台结果槽中的物品。

      原文:Set the item in the result slot of the smithing table

      参数:
      newResult - 新的结果物品
    • getRecipe

      获取锻造台上当前形成的配方(如果有)。

      原文:Get the current recipe formed on the smithing table, if any.

      返回:
      配方,如果当前内容不匹配任何配方则返回 null