Interface LecternView

All Superinterfaces:
InventoryView

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

    • getTopInventory

      @NotNull LecternInventory getTopInventory()
      Description copied from interface: InventoryView
      Get the upper inventory involved in this transaction.
      Specified by:
      getTopInventory in interface InventoryView
      Returns:
      the inventory
    • getPage

      int getPage()
      Gets the page that the LecternView is on.
      Returns:
      The page the book is on
    • setPage

      void setPage(int page)
      Sets the page of the lectern book.
      Parameters:
      page - the lectern book page