Lectern

A lectern is a block used to display and read written books from. It also serves as a librarian's job site block.
== Obtaining ==
=== Natural generation ===
Empty lecterns can generate naturally in village libraries, up to two for some library variants.
One lectern generates as part of each ancient city, in the secret room at the city center.
=== Breaking ===
Lecterns can be broken with any tool, but an axe is the fastest. Lecterns drop themselves and the book they are holding.
=== Crafting ===
Lecterns can only be crafted using a normal bookshelf, not a chiseled bookshelf, and proper wooden slabs, not petrified oak slabs.
== Usage ==
Lecterns are the job site block of librarian villagers.
Librarian villagers do not place books into lecterns. They only stare at the lectern from less than a block away as "working".
=== Holding books ===
Lecterns can also hold a single book and quill or written book that other players can read at the same time. Right-clicking an empty one with a book and quill or written book places it. Right-clicking a lectern with a book already occupied opens an interface to read the book. Books occupying a lectern can be retrieved through the interface, punching the lectern or by destroying the lectern, even when /gamerule doTileDrops is false.
Lecterns cannot hold enchanted books or normal books. Instead, right clicking the lectern with an enchanted book or a normal book does nothing and the book won't be placed.
=== Changing profession ===
If a village has a lectern that has not been claimed by a villager, any villager has a chance to change their profession into librarian if that villager has not already chosen a job site block.
=== Redstone signal ===
Lecterns holding a book emit a full-strength redstone pulse that is one game tick long (0.5 redstone ticks) when a page is turned. A redstone comparator also records book reading and sends a signal, depending on what page the player is currently on. Because displays two pages of the book at once, the same signal strength increments require double the number of pages.
For Java Edition a book with only 1 page gives maximum signal strength, however page 1 always gives 1 signal strength if the book contains at least 2 pages.
Due to this, to calculate the signal strength S of books with more than 1 page, use the following formula: 
S = \left\lfloor 1 + \frac{14(P-1)}{M-1} \right\rfloor
Where \lfloor \, \rfloor is the "floor" operation (round down), M is the maximum number of pages the book on the lectern has, and P is the current page number the lectern is turned to.
This is most noticeable when a book has 2 pages where the signal strength is either 1 on page 1 or 15 on page 2.
A book that would step up or down in increments of 1 per page would be 15 pages long.
For the formula is slightly different. Due to Bedrock Edition showing 2 pages at once and counting a change to the book's output only if the highest even numbered page contains information, a redstone comparator treats books with 3 pages the same as those with 1 or 2 pages of information, the same as how Java Edition would treat a book with just 1 page.
For 4 or more pages of information use the following formula to calculate signal strength.
S = \left\lfloor 1 + \frac{14(P'-1)}{M'-1} \right\rfloor
In this case M' is half of the maximum page number rounded down, and P' is half of the current highest page number containing data displayed on the book interface, rounded down.
Rounding down is required to eliminate the discrepancy caused by books containing an odd number of pages. For example, a book with 8 pages gives a signal strength of 15 when looking at pages 7-8. A book with 9 pages has a signal strength of 15 when looking at either pages 7-8 and 9-10.
In , a book that steps up or down in increments of 1 per page turned must be exactly 30 pages long, with information left on page 30.
=== Fuel ===
Lecterns can be used as fuel in furnaces to smelt 1.5 items.
=== Note Blocks ===
Lecterns can be placed under note blocks to produce "bass" sound.
==Sounds==
===Generic===
=== Unique ===
:
:
== Data values ==
=== ID ===
:
:
=== Block states ===
=== Block data ===
A lectern has a block entity associated with it that holds additional data about the block.
:
:
: See Bedrock Edition level format/Block entity format.
== History ==
== Issues ==
== Gallery ==
=== Renders ===
Lectern (W).png
Lectern (N).png
Lectern (E).png
Lectern with Book (W).png
Lectern with Book (N).png
Lectern with Book (E).png
=== Screenshots ===
DevLectern.png|One of the two first images of the lectern.
Lectern2.png|The second of the first images of the lectern.
New Lectern.jpg|The first image of a modern lectern.
Lectern with book.png|alt=A lectern holding a book and quill|A lectern holding a book and quill.
File:Sunny Lectern.jpg|Sunny using a lectern.
== References ==
Category:Job blocks
Category:Utility blocks
Category:Manufactured blocks
Category:Generated structure blocks
Category:Mechanisms
Category:Mechanics
Category:Redstone mechanics
Category:Storage
Category:Block entities
Category:Flammable blocks
de:Lesepult
es:Atril
fr:Pupitre
it:Leggio
ja:書見台
ko:독서대
nl:Lessenaar
pl:Pulpit
pt:Atril
ru:Кафедра
th:แท่นอ่านหนังสือ
zh:讲台