Minecraft:Lectern: Difference between revisions
More actions
imported>Realshow19 |
Remove broken links to missing pages |
||
| Line 3: | Line 3: | ||
| image2 = Lectern with Book (S).png | | image2 = Lectern with Book (S).png | ||
| extratext = View [[#Renders|all renders]] | | extratext = View [[#Renders|all renders]] | ||
| transparent = ''' | | transparent = '''JE''': No<br>'''BE''': Yes | ||
| light = No | | light = No | ||
| tool = Axe | | tool = Axe | ||
| Line 12: | Line 12: | ||
| lavasusceptible = Yes | | lavasusceptible = Yes | ||
}} | }} | ||
A '''lectern''' is a [[Minecraft:block]] used to display a | A '''lectern''' is a [[Minecraft:block]] used to display a book and quill or written book for reading. Turning a page triggers a [[Minecraft:redstone]] pulse. It also serves as a librarian's job site block. | ||
== Obtaining == | == Obtaining == | ||
| Line 21: | Line 21: | ||
=== Natural generation === | === Natural generation === | ||
Empty lecterns can generate naturally in | Empty lecterns can generate naturally in village libraries, up to two for some library variants. | ||
One lectern generates as part of each | One lectern generates as part of each ancient city, in the secret room at the city center. | ||
=== Crafting === | === Crafting === | ||
| Line 37: | Line 37: | ||
== Usage == | == Usage == | ||
Lecterns are the job site block of | 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". | Librarian villagers do not place books into lecterns. They only stare at the lectern from less than a block away as "working". | ||
| Line 44: | Line 44: | ||
[[File:Lectern GUI.png|thumb|right|The UI when reading a book on a lectern.]] | [[File:Lectern GUI.png|thumb|right|The UI when reading a book on a lectern.]] | ||
Lecterns can also hold a single | 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 lectern with a book and quill or written book places it. Right-clicking a lectern that already has a book opens an interface to read the book. Books occupying a lectern can be retrieved through the interface,{{Only|java}} by punching the lectern,{{Only|bedrock}} or by destroying the lectern, even when the {{gmr|block_drops|dotiledrops}} game rule is false. | ||
Lecterns cannot hold | Lecterns cannot hold enchanted books or normal [[Minecraft:book]]s. Instead, right-clicking the lectern with an enchanted book or a normal book does nothing and the book won't be placed. | ||
=== Profession === | === Profession === | ||
{{main|Job site block}} | {{main|Job site block}} | ||
If a lectern has not been claimed by a [[Minecraft:villager]], any nearby unemployed villager (excluding nitwits) has a chance to change its profession to librarian and claim the lectern as its | If a lectern has not been claimed by a [[Minecraft:villager]], any nearby unemployed villager (excluding nitwits) has a chance to change its profession to librarian and claim the lectern as its job site block. | ||
=== Redstone signal === | === Redstone signal === | ||
Lecterns holding a book emit a full-strength [[Minecraft:redstone]] pulse that is 2 game | Lecterns holding a book emit a full-strength [[Minecraft:redstone]] pulse that is 2 game ticks long when a page is turned. A redstone comparator also records [[Minecraft:book]] reading and sends a signal, depending on what page the player is currently on. Since {{el|be}} displays two pages of the book at once, the same signal strength increments require double the number of pages. | ||
==== ''Java Edition'' ==== | ==== ''Java Edition'' ==== | ||
| Line 141: | Line 141: | ||
==== ''Bedrock Edition'' ==== | ==== ''Bedrock Edition'' ==== | ||
Odd pages are not taken into account by the game when calculating the | Odd pages are not taken into account by the game when calculating the comparator output of a [[Minecraft:book]]: for example, a book with 9 pages has a signal strength of 15 when looking at either pages 7-8 or page 9. Books with 3 pages are treated the same as those with 1 or 2 pages (the same as how ''Java Edition'' would treat a book with just 1 page). | ||
For books that are longer than 1 page, use the following formula to calculate the signal strength: | For books that are longer than 1 page, use the following formula to calculate the signal strength: | ||
| Line 152: | Line 152: | ||
=== Fuel === | === Fuel === | ||
Lecterns can be used as | Lecterns can be used as fuel in furnaces to smelt 1.5 items. | ||
=== Note blocks === | === Note blocks === | ||
Lecterns can be placed under | Lecterns can be placed under note blocks to produce "bass" sound. | ||
== Sounds == | == Sounds == | ||
| Line 301: | Line 301: | ||
=== Development and announcement === | === Development and announcement === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine||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 | |{{HistoryLine||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 books, 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.}} | ||
|{{HistoryLine||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 | |{{HistoryLine||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 Reddit AMA that he has revisited lecterns, but scrapped them again as "something about them just didn't feel right".}} | ||
|{{HistoryLine||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.}} | |{{HistoryLine||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.}} | ||
}} | }} | ||
| Line 318: | Line 318: | ||
|The bottom texture of lecterns has been changed from [[File:Lectern JE1 (facing NWU).png|32px]] to [[File:Lectern JE2 (facing NWU).png|32px]].}} | |The bottom texture of lecterns has been changed from [[File:Lectern JE1 (facing NWU).png|32px]] to [[File:Lectern JE2 (facing NWU).png|32px]].}} | ||
|{{HistoryLine|dev=18w47a|||[[File:Lectern JE3 BE1 (facing NWU).png|32px]] The bottom texture of lecterns has been changed, once again.}} | |{{HistoryLine|dev=18w47a|||[[File:Lectern JE3 BE1 (facing NWU).png|32px]] The bottom texture of lecterns has been changed, once again.}} | ||
|{{HistoryLine|||dev=18w48a|Lecterns now generate in the updated | |{{HistoryLine|||dev=18w48a|Lecterns now generate in the updated plains villages.}} | ||
|{{HistoryLine|||dev=18w49a|Lecterns now generate in the updated | |{{HistoryLine|||dev=18w49a|Lecterns now generate in the updated savanna villages and the new snowy tundra villages.}} | ||
|{{HistoryLine|||dev=18w50a|Lecterns now generate in the updated | |{{HistoryLine|||dev=18w50a|Lecterns now generate in the updated desert and taiga villages.}} | ||
|{{HistoryLine|dev=19w02a|||Lecterns now have a [[Minecraft:crafting]] recipe. | |{{HistoryLine|dev=19w02a|||Lecterns now have a [[Minecraft:crafting]] recipe. | ||
|[[File:Lectern Book JE1 BE1.png|32px]] Lecterns can now be used to hold [[Minecraft:book]]s. | |[[File:Lectern Book JE1 BE1.png|32px]] Lecterns can now be used to hold [[Minecraft:book]]s. | ||
| Line 332: | Line 332: | ||
|{{HistoryLine|dev=21w11a|||Tweaked the lectern model.}} | |{{HistoryLine|dev=21w11a|||Tweaked the lectern model.}} | ||
|{{HistoryLine||1.18|dev=pre5|[[File:Lectern (S).png|32px]] [[File:Lectern with Book (S).png|32px]] The base texture of lectern has now been changed.}} | |{{HistoryLine||1.18|dev=pre5|[[File:Lectern (S).png|32px]] [[File:Lectern with Book (S).png|32px]] The base texture of lectern has now been changed.}} | ||
|{{HistoryLine||1.19|dev=22w13a|Lecterns now generate as part of | |{{HistoryLine||1.19|dev=22w13a|Lecterns now generate as part of ancient cities.}} | ||
}} | }} | ||
| Line 354: | Line 354: | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|bedrock}} | |{{HistoryLine|bedrock}} | ||
|{{HistoryLine||1.20.30|dev=Preview 1.20.30.20|Lecterns now use the <code>minecraft:cardinal_direction</code> | |{{HistoryLine||1.20.30|dev=Preview 1.20.30.20|Lecterns now use the <code>minecraft:cardinal_direction</code> block state instead of <code>direction</code>.}} | ||
}} | }} | ||
| Line 380: | Line 380: | ||
New Lectern.jpg|The first image of a modern lectern.<ref>{{tweet|Dinnerbone|1052917362482122752|sup|October 18, 2018}}</ref> | New Lectern.jpg|The first image of a modern lectern.<ref>{{tweet|Dinnerbone|1052917362482122752|sup|October 18, 2018}}</ref> | ||
Lectern with book.png|A lectern holding a book and quill. | Lectern with book.png|A lectern holding a book and quill. | ||
Sunny Lectern.jpg| | Sunny Lectern.jpg|Sunny using a lectern. | ||
</gallery> | </gallery> | ||
| Line 393: | Line 393: | ||
== External links == | == External links == | ||
*{{Mcnet|lectern|Taking Inventory: Lectern|November 23, 2023| | *{{Mcnet|lectern|Taking Inventory: Lectern|November 23, 2023|Duncan Geere}} | ||
== Navigation == | == Navigation == | ||
| Line 410: | Line 410: | ||
[[Category:Readable by comparators]] | [[Category:Readable by comparators]] | ||
de:Lesepult | |||
es:Atril | |||
fr:Pupitre | |||
it:Leggio | |||
ja:書見台 | |||
ko:독서대 | |||
nl:Lessenaar | |||
pl:Pulpit | |||
pt:Atril | |||
ru:Кафедра | |||
th:แท่นอ่านหนังสือ | |||
uk:Катедра | |||
zh:讲台 | |||
Revision as of 15:54, 9 April 2026
Template:Infobox block A lectern is a Minecraft:block used to display a book and quill or written book for reading. Turning a page triggers a Minecraft:redstone pulse. It also serves as a librarian's job site block.
Obtaining
Breaking
Lecterns can be broken with any Minecraft:tool, but an Minecraft:axe is the fastest. Lecterns drop themselves and the book they are holding.
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.
Crafting
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 lectern with a book and quill or written book places it. Right-clicking a lectern that already has a book opens an interface to read the book. Books occupying a lectern can be retrieved through the interface,Template:Only by punching the lectern,Template:Only or by destroying the lectern, even when the Template:Gmr game rule is false.
Lecterns cannot hold enchanted books or normal Minecraft:books. Instead, right-clicking the lectern with an enchanted book or a normal book does nothing and the book won't be placed.
Profession
Template:Main If a lectern has not been claimed by a Minecraft:villager, any nearby unemployed villager (excluding nitwits) has a chance to change its profession to librarian and claim the lectern as its job site block.
Redstone signal
Lecterns holding a book emit a full-strength Minecraft:redstone pulse that is 2 game ticks long when a page is turned. A redstone comparator also records Minecraft:book reading and sends a signal, depending on what page the player is currently on. Since Template:El displays two pages of the book at once, the same signal strength increments require double the number of pages.
Java Edition
| Template:Diagonal split header | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 15 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 14 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | |
| 13 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | ||
| 12 | 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 15 | |||
| 11 | 1 | 2 | 3 | 5 | 6 | 8 | 9 | 10 | 12 | 13 | 15 | ||||
| 10 | 1 | 2 | 4 | 5 | 7 | 8 | 10 | 11 | 13 | 15 | |||||
| 9 | 1 | 2 | 4 | 6 | 8 | 9 | 11 | 13 | 15 | ||||||
| 8 | 1 | 3 | 5 | 7 | 9 | 11 | 13 | 15 | |||||||
| 7 | 1 | 3 | 5 | 8 | 10 | 12 | 15 | ||||||||
| 6 | 1 | 3 | 6 | 9 | 12 | 15 | |||||||||
| 5 | 1 | 4 | 8 | 11 | 15 | ||||||||||
| 4 | 1 | 5 | 10 | 15 | |||||||||||
| 3 | 1 | 8 | 15 | ||||||||||||
| 2 | 1 | 15 | |||||||||||||
| 1 | 15 |
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.
To calculate the signal strength <math>S</math> of a book 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 signal strength up or down in increments of 1 per page would be 15 pages long.
The following Python program prints all possible pairs of two values to achieve a certain signal strength, with the first being the page number to be on and the second being the total number of pages. <syntaxhighlight lang="python" line="1" start="1"> import math
S = int(input('Enter the target signal strength: ')) # Desired signal strength (1-15) P = 1 # Actual page number M = 2 # Max page number
while M < 25:
while S != math.floor(1 + ((14 * (P - 1)) / (M - 1))): # Strength formula
if P == M:
M += 1
P = 0
P += 1
print('Possible combination (P / M):', P, "/", M)
P += 1
</syntaxhighlight>
Bedrock Edition
Odd pages are not taken into account by the game when calculating the comparator output of a Minecraft:book: for example, a book with 9 pages has a signal strength of 15 when looking at either pages 7-8 or page 9. Books with 3 pages are treated the same as those with 1 or 2 pages (the same as how Java Edition would treat a book with just 1 page).
For books that are longer than 1 page, use the following formula to calculate the signal strength:
<math>S = \left\lfloor 1 + \frac{14(P')}{M'} \right\rfloor</math>
In this case <math>M'</math> is the total amount of pages, if it's even—otherwise the total amount of pages minus one should be used instead. <math>P'</math> is the number of the right page currently displayed on the book interface, if available—otherwise the number of the left page minus one should be used instead.
A Minecraft:book that steps signal strength up or down in increments of 1 per page turned must be exactly 30 pages long.
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
Template:Sound table/Block/Wood
Unique
Data values
ID
Template:Edition: Template:ID table Template:ID table
Template:Edition: Template:ID table2 Template:ID table
Block states
Template:El: Template:Bst Template:Bst Template:Bst
Template:El: Template:Bst Template:Bst
Block data
A lectern has a Minecraft:block entity associated with it that holds additional data about the Minecraft:block.
Template:El: Template:See also
<section begin="block data"/>
- Template:Nbt Block entity data
- Template:Nbt inherit/blockentity
- Template:Nbt: The book item, without the slot tag, currently on the lectern, may not exist.
- Template:Nbt: The page the book is currently on, starting from 0, does not exist if there's no book. Value is clamped between 0 and the last page - 1.
<section end="block data"/>
History
Development and announcement
Java Edition
Bedrock Edition
PlayStation 4 Edition
Data history
Issues
Gallery
Renders
Screenshots
-
One of the two first images of the lectern.
-
The second of the first images of the lectern.
-
The first image of a modern lectern.<ref>Template:Tweet</ref>
-
A lectern holding a book and quill.
-
Sunny using a lectern.
In other media
-
A lectern as seen in Template:AMCM.
References
External links
Template:Navbox redstone Template:Navbox blocks
de:Lesepult es:Atril fr:Pupitre it:Leggio ja:書見台 ko:독서대 nl:Lessenaar pl:Pulpit pt:Atril ru:Кафедра th:แท่นอ่านหนังสือ uk:Катедра zh:讲台