{{Block
| image = Lectern (S).png
| image2 = Lectern with Book (S).png
| extratext = View [[#Gallery|all renders]]
| transparent = No
| light = No
| tool = Axe
| renewable = Yes
| stackable = Yes (64)
| flammable = Yes (30)
| lavasusceptible = Yes
}}
A '''lectern''' is a [[block]] used to display and read [[Book and Quill|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|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.

{{breaking row|horizontal=1|Lectern|axe}}

=== Crafting ===
{{Crafting
|A1=Any wood Slab
|B1=Any wood Slab
|C1=Any wood Slab
|A2=
|B2=Bookshelf
|C2=
|A3=
|B3=Any wood Slab
|C3=
|Output=Lectern
|type=Redstone
}}

== Usage ==
Lecterns are the job site block of [[Trading#Librarian|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 ===
[[File:Lectern GUI.png|thumb|right|The UI when reading a book on a lectern.]]

Lecterns can also hold a single [[book and quill]] or [[Written Book|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,{{Only|java}} punching the lectern{{Only|bedrock}} or by destroying the lectern, even when <code>/[[gamerule]] doTileDrops</code> is false.

Lecterns cannot hold [[Enchanted Book|enchanted books]] or normal [[Book|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 {{el|be}} displays two pages of the book at once, the same signal strength increments require double the number of pages.

For [[Java Edition|''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 <math>S</math> of books with more than 1 page, use the following formula: 

<math>S = \left\lfloor 1 + \frac{14(P-1)}{M-1} \right\rfloor</math>

Where <math>\lfloor \, \rfloor</math> is the "floor" operation (round down), <math>M</math> is the maximum number of pages the book on the lectern has, and <math>P</math> 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 {{el|be}} 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.

<math>S = \left\lfloor 1 + \frac{14(P'-1)}{M'-1} \right\rfloor</math>

In this case <math>M'</math> is half of the maximum page number rounded down, and <math>P'</math> 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 {{el|be}}, 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 block]]s to produce "bass" sound.

==Sounds==
===Generic===
{{Sound table/Block/Wood}}

=== Unique ===
{{edition|java}}:
{{Sound table
|sound=Page turn1.ogg
|sound2=Page turn2.ogg
|sound3=Page turn3.ogg
|subtitle=Page rustles
|source=master
|description=When the page of a book is turned
|id=item.book.page_turn
|translationkey=subtitles.item.book.page_turn
|volume=2.0
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Book thump1.ogg
|sound2=Book thump2.ogg
|subtitle=Book thumps
|source=block
|description=When a book is placed on a lectern
|id=item.book.put
|translationkey=subtitles.item.book.put
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Page turn1.ogg
|sound2=Page turn2.ogg
|sound3=Page turn3.ogg
|subtitle=Librarian works
|source=neutral
|description=Randomly while a librarian is working
|id=entity.villager.work_librarian
|translationkey=subtitles.entity.villager.work_librarian
|volume=2.0
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Page turn1.ogg
|sound2=Page turn2.ogg
|sound3=Page turn3.ogg
|source=sound
|description=When the page of a book is turned
|id=item.book.page_turn
|volume=2.0
|pitch=1.0}}
{{Sound table
|rowspan=2
|sound=Book thump1.ogg
|sound2=Book thump2.ogg
|source=block
|description=When a book is placed on a lectern
|id=item.book.put
|volume=4.8
|pitch=1.0}}
{{Sound table
|source=block
|description=Randomly while a librarian is working
|id=item.book.put
|volume=4.8
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Lectern
|spritetype=block
|nameid=lectern
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=lectern
|spritetype=block
|nameid=lectern
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Lectern
|spritetype=block
|nameid=lectern
|id=449
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=lectern
|spritetype=block
|nameid=Lectern
|foot=1}}

=== Block states ===
{{see also|Block states}}
{{/BS}}

=== Block data ===
A lectern has a [[block entity]] associated with it that holds additional data about the [[block]].

{{el|java}}:
{{see also|Block entity format}}
{{/BE}}

{{el|bedrock}}:
: See [[Bedrock Edition level format/Block entity format]].

== History ==
{{History|java}}
{{History||August 18, 2012|link=https://www.reddit.com/r/Minecraft/comments/yf5im/suggestion_storable_books/c5v03bq/?context=1|[[File:Lectern (pre-release).png|32px]] [[File:Lectern Book (pre-release).png|32px]] The lectern was an old project of [[Dinnerbone]]'s. It was meant to be a stand for [[written book]]s, so they could be easily read. He was well on his way to creating it when he encountered problems and scrapped the idea, but mentioned that he might pick up work on the lectern in the near future.}}
{{History||December 18, 2013|link=https://www.reddit.com/r/Minecraft/comments/1t6qn7/i_am_dinnerbone_a_minecraft_developer_ask_me/ce4z2v5/?context=3|Dinnerbone states in his [[wikipedia:Reddit|Reddit]] AMA that he has revisited lecterns, but scrapped them again as "something about them just didn't feel right".}}
{{History||October 18, 2018|link=https://twitter.com/Dinnerbone/status/1052917362482122752|[[File:Lectern (pre-release 2).png|32px]] Dinnerbone reveals that the lectern is once again in development.}}
{{History||1.14|snap=18w44a|[[File:Lectern JE1.png|32px]] Added lecterns.
|Lecterns are currently obtainable only from the [[creative]] [[inventory]] and have no functionality.
|Lecterns currently have a {{code|BookItem}} field, which holds the [[book]] [[item]] to be displayed. However, this field cannot be set and is not written to the [[block]] [[entity]].
|There is a file <samp>lectern.png</samp> which has each texture of the lectern on a large sheet. However, this is unused, as separate files are also present.}}
{{History|||snap=18w45a|The [[inventory]] icon of lecterns has been slightly changed from {{InvSprite|Lectern Revision 1}} to {{InvSprite|Lectern}}.
|Removed the unused <samp>lectern.png</samp> file.
|[[File:Lectern JE2 BE1.png|32px]] The texture of lecterns has now been changed.
|The bottom texture of lecterns has been changed from [[File:Lectern JE1 (facing NWU).png|32px]] to [[File:Lectern JE2 (facing NWU).png|32px]].}}
{{History|snap=18w47a|||[[File:Lectern JE3 BE1 (facing NWU).png|32px]] The bottom texture of lecterns has been changed, once again.}}
{{History|||snap=18w48a|Lecterns now generate in the updated [[plains]] [[village]]s.}}
{{History|||snap=18w49a|Lecterns now generate in the updated [[savanna]] villages and the new [[snowy tundra]] villages.}}
{{History|||snap=18w50a|Lecterns now generate in the updated [[desert]] and [[taiga]] villages.}}
{{History|snap=19w02a|||Lecterns now have a [[crafting]] recipe.
|[[File:Lectern Book JE1 BE1.png|32px]] Lecterns can now be used to hold [[book]]s.
|Lecterns now emit a [[redstone]] pulse when a page is changed.
|Lecterns now use the correct cullface argument for its bottom face.}}
{{History|||snap=?|Lecterns now use some corrected side cullface arguments for the front and back of their base plate.}}
{{History|||snap=19w03a|Certain [[block]]s can no longer be supported by the top of a lectern.<ref>{{bug|MC-141991}}</ref>}}
{{History|||snap=19w03c|Lecterns now use correct cullface arguments on the left and right hand side of their base plate.}}
{{History|||snap=19w11a|Lecterns now serve as librarian [[villager]]s' job site block.}}
{{History||1.17|snap=21w08a|Lectern position within the Redstone tab has been moved out of the "essential" group in the [[creative]] inventory.}}
{{History|snap=21w11a|||Tweaked the lectern model.}}
{{History||1.18|snap=Pre-release 5|[[File:Lectern (S).png|32px]] [[File:Lectern with Book (S).png|32px]] The base texture of lectern has now been changed.}}
{{History||1.19|snap=22w13a|Lecterns now generate as part of [[Ancient City|ancient cities]].}}

{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Lectern JE2 BE1.png|32px]] [[File:Lectern Book JE1 BE1.png|32px]] Added lecterns.}}
{{History||1.11.0|snap=beta 1.11.0.1|Lecterns now emit a [[redstone]] pulse when a page is turned.}}
{{History||1.20.30|snap=beta 1.20.30.20|Lecterns now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}

{{History|Ps4}}
{{History||1.90|[[File:Lectern JE2 BE1.png|32px]] [[File:Lectern Book JE1 BE1.png|32px]] Added lecterns.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Gallery ==
=== Renders ===
<gallery>
Lectern (W).png
Lectern (N).png
Lectern (E).png
</gallery>
<gallery>
Lectern with Book (W).png
Lectern with Book (N).png
Lectern with Book (E).png
</gallery>

=== Screenshots ===
<gallery>
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.<ref>{{tweet|Dinnerbone|1052917362482122752|sup|October 18, 2018}}</ref>
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.
</gallery>

== References ==
{{Reflist}}

{{redstone}}
{{Blocks|Utility}}

[[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:讲台]]
