接口 CrafterView

所有超级接口:
InventoryView

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

    • getTopInventory

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

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

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

      boolean isSlotDisabled(int slot)
      Checks if the given crafter slot is disabled.
      参数:
      slot - the slot to check
      返回:
      true if the slot is disabled otherwise false
    • isPowered

      boolean isPowered()
      Checks whether or not this crafter view is powered.
      返回:
      true if the crafter is powered
    • setSlotDisabled

      void setSlotDisabled(int slot, boolean disabled)
      Sets the status of the crafter slot.
      参数:
      slot - the slot to set the status of
      disabled - true if the slot should be disabled otherwise false