接口 StonecutterView

所有超级接口:
InventoryView

public interface StonecutterView extends InventoryView
一个提供与切石机视图数据相关额外方法的 InventoryView 实例。
  • 方法详细资料

    • getTopInventory

      从接口复制的说明: InventoryView
      获取此窗口视图上方的物品栏.

      原文:Get the upper inventory involved in this transaction.

      指定者:
      getTopInventory 在接口中 InventoryView
      返回:
      物品栏
    • getSelectedRecipeIndex

      int getSelectedRecipeIndex()
      获取当前选中配方的索引.

      原文:Gets the current index of the selected recipe.

      返回:
      切石机中选中配方的索引, 如果为null则返回-1
    • getRecipes

      获取玩家当前可用的所有配方副本.

      原文:Gets a copy of all recipes currently available to the player.

      返回:
      玩家当前可用的StonecuttingRecipe副本
    • getRecipeAmount

      int getRecipeAmount()
      获取当前可用的配方数量.

      原文:Gets the amount of recipes currently available.

      返回:
      玩家当前可用的配方数量