Interface Lectern

All Superinterfaces:
BlockInventoryHolder, BlockState, InventoryHolder, Metadatable, PersistentDataHolder, PersistentDataViewHolder, TileState, TileStateInventoryHolder

public interface Lectern extends TileStateInventoryHolder
Represents a captured state of a lectern.
  • Method Details

    • getPage

      int getPage()
      Get the current lectern page.
      Returns:
      current page
    • setPage

      void setPage(int page)
      Set the current lectern page. If the page is greater than the number of pages of the book currently in the inventory, then behavior is undefined.
      Parameters:
      page - new page