接口 StonecutterView

所有超级接口:
InventoryView

public interface StonecutterView extends InventoryView
An instance of InventoryView which provides extra methods related to stonecutter view data.
  • 方法详细资料

    • getTopInventory

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

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

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

      int getSelectedRecipeIndex()
      Gets the current index of the selected recipe.
      返回:
      The index of the selected recipe in the stonecutter or -1 if null
    • getRecipes

      Gets a copy of all recipes currently available to the player.
      返回:
      A copy of the StonecuttingRecipe's currently available for the player
    • getRecipeAmount

      int getRecipeAmount()
      Gets the amount of recipes currently available.
      返回:
      The amount of recipes currently available for the player