Interface CrafterView

All Superinterfaces:
InventoryView

public interface CrafterView extends InventoryView
An instance of InventoryView which provides extra methods related to crafter view data.
  • Method Details

    • isSlotDisabled

      boolean isSlotDisabled(int slot)
      Checks if the given crafter slot is disabled.
      Parameters:
      slot - the slot to check
      Returns:
      true if the slot is disabled otherwise false
    • isPowered

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

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